// Copyright (c) 2024，D-Robotics.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

/***************************************************************************
* COPYRIGHT NOTICE
* Copyright 2019 Horizon Robotics, Inc.
* All rights reserved.
***************************************************************************/
#ifndef UTILITY_SENSOR_INC_OVX8BSTD_SETTING_H_
#define UTILITY_SENSOR_INC_OVX8BSTD_SETTING_H_

#define MCLK_NUM                0
#define SENSOR_CLK_MIN          18
#define SENSOR_CLK_MAX          27
#define OVX8B_PARAM_HOLD        (0x3208)
#define GROUP_0_START		(0x00)
#define GROUP_0_END			(0x10)
#define GROUP_0_QUICK_LUNCH (0xE0)
#define OVX8B_MANUAL_LUNCH      (0x3211)
#define MANUAL_LUNCH_ON		(0x00)
#define OVX8B_HCG_AGAIN         (0x3508)
#define OVX8B_SPD_AGAIN         (0x3548)
#define OVX8B_LCG_AGAIN         (0x3588)
#define OVX8B_VS_AGAIN         	(0x35C8)
#define OVX8B_HCG_DGAIN         (0x350A)
#define OVX8B_SPD_DGAIN         (0x354A)
#define OVX8B_LCG_DGAIN         (0x358A)
#define OVX8B_VS_DGAIN         	(0x35CA)
#define OVX8B_DCG_LINE          (0x3501)
#define OVX8B_SPD_LINE          (0x3541)
#define OVX8B_VS_LINE           (0x35C1)
#define OVX8B_VTS               (0x380E)
#define OVX8B_HTS               (0x386E)
#define OVX8B_HTS_DCG           (0x380C)
#define OVX8B_HTS_S             (0x384C)
#define OVX8B_HTS_VS            (0x388C)
#define OVX8B_X_START           (0x3800)
#define OVX8B_X_END             (0x3804)
#define OVX8B_Y_START           (0x3802)
#define OVX8B_Y_END             (0x3806)
#define OVX8B_X_OUTPUT          (0x3808)
#define OVX8B_Y_OUTPUT          (0x380A)
#define OVX8b_AWB_HCG_B         (0x5280)
#define OVX8b_AWB_HCG_GB        (0x5282)
#define OVX8b_AWB_HCG_GR        (0x5284)
#define OVX8b_AWB_HCG_R         (0x5286)
#define OVX8b_AWB_LCG_B         (0x5480)
#define OVX8b_AWB_LCG_GB        (0x5482)
#define OVX8b_AWB_LCG_GR        (0x5484)
#define OVX8b_AWB_LCG_R         (0x5486)
#define OVX8b_AWB_SPD_B         (0x5680)
#define OVX8b_AWB_SPD_GB        (0x5682)
#define OVX8b_AWB_SPD_GR        (0x5684)
#define OVX8b_AWB_SPD_R         (0x5686)
#define OVX8b_AWB_VS_B          (0x5880)
#define OVX8b_AWB_VS_GB         (0x5882)
#define OVX8b_AWB_VS_GR         (0x5884)
#define OVX8b_AWB_VS_R          (0x5886)

#define OVX8b_PLL2_PREDIV0      (0x0326)
#define OVX8b_PLL2_PREDIV       (0x0323)
#define OVX8b_PLL2_MULT         (0x0324)
#define OVX8b_PLL2_DIVSYSPRE    (0x032A)
#define OVX8b_PLL2_DIVSYS       (0x032B)

#define OVX8B_OTP_VERSION_REG_1	(0x704B)
#define OVX8B_OTP_VERSION_REG_2	(0x700E)

#define OVX8B_OTP_HCG_SENS_REG  (0x7058)
#define OVX8B_OTP_LCG_SENS_REG  (0x705c)
#define OVX8B_OTP_SPD_SENS_REG  (0x7060)
#define OVX8B_OTP_VS_SENS_REG   (0x7064)

#define OVX8B_HCG_SENSITIVITY_REG	(0x501a)
#define OVX8B_LCG_SENSITIVITY_REG	(0x501e)
#define OVX8B_SPD_SENSITIVITY_REG	(0x5022)
#define OVX8B_VS_SENSITIVITY_REG	(0x5026)

#define OVX8B_OTP_VERSION_THRESHOLD_1	0xa5
#define OVX8B_OTP_VERSION_THRESHOLD_2	0x06
#define OVX8B_RATIO_SHIFT		256

// #define OVX8B_CHANNEL_RATIO     16
#define OVX8B_HCG_LCG_CHANNEL_RATIO	36
#define OVX8B_LCG_SPD_CHANNEL_RATIO	3.6
#define OVX8B_LCG_VS_CHANNEL_RATIO	270
#define OVX8B_HCG_LCG_CG_RATIO_DEFT	4.0
// #define OVX8B_LPD_SPD_RATIO     36
#define OVX8B_SENSITIVITY_RATIO_DEFT	7.8

#define OVX8B_COMMON_ADDR       0x10
#define EXP_TIME_MIN            2
#define DCG_ADD_VS_LINE_MAX     1255    //  vts - 13
#define VS_LINE_MAX             35
#define VS_LINE_MIN             0       //  actual 0.5row
#define DCG_SPD_LINE_MIN        2
#define LCG_VS_AGAIN_MIN        1.3125
#define LCG_VS_DGAIN_MIN        1.015625
#define HCG_SPD_AGAIN_MIN       1
#define AGAIN_MAX               15.5
#define DGAIN_MAX               15.999
#define DGAIN_MIN               1

#define D65_TEMPER              6500
#define CWF_TEMPER              4150
#define ALIGHT_TEMPER           2856

#define SN_D65_TEMPER           6400
#define SN_CWF_TEMPER           4000
#define SN_ALIGHT_TEMPER        2800

#define LCE_D65_TEMPER          6466
#define LCE_CWF_TEMPER          3985
#define LCE_ALIGHT_TEMPER       2882

#define ALIGHT_LPD_BGAIN        2.81
#define ALIGHT_LPD_RGAIN        1.21
#define ALIGHT_SPD_BGAIN        2.12
#define ALIGHT_SPD_RGAIN        1.12
#define CWF_LPD_BGAIN           2.43
#define CWF_LPD_RGAIN           1.79
#define CWF_SPD_BGAIN           2.00
#define CWF_SPD_RGAIN           1.42
#define D65_LPD_BGAIN           1.45
#define D65_LPD_RGAIN           2.15
#define D65_SPD_BGAIN           1.42
#define D65_SPD_RGAIN           1.68

#define ALIGHT_BGAIN_RATIO      1.27
#define ALIGHT_RGAIN_RATIO      1
#define CWF_BGAIN_RATIO         1.09
#define CWF_RGAIN_RATIO         1
#define D65_BGAIN_RATIO         1.004
#define D65_RGAIN_RATIO         1.185

#define SN120_ALIGHT_BGAIN_RATIO      1.344688
#define SN120_ALIGHT_RGAIN_RATIO      1.056244
#define SN120_CWF_BGAIN_RATIO         1.199707
#define SN120_CWF_RGAIN_RATIO         1.193359
#define SN120_D65_BGAIN_RATIO         1.04212
#define SN120_D65_RGAIN_RATIO         1.328776

#define SN30_ALIGHT_BGAIN_RATIO      1.272035
#define SN30_ALIGHT_RGAIN_RATIO      1.043288
#define SN30_CWF_BGAIN_RATIO         1.18004
#define SN30_CWF_RGAIN_RATIO         1.134698
#define SN30_D65_BGAIN_RATIO         1.009771
#define SN30_D65_RGAIN_RATIO         1.222323

#define LCE120_ALIGHT_BGAIN_RATIO     1.247148
#define LCE120_ALIGHT_RGAIN_RATIO     1.058824
#define LCE120_CWF_BGAIN_RATIO        1.18896
#define LCE120_CWF_RGAIN_RATIO        1.184524
#define LCE120_D65_BGAIN_RATIO        1.005747
#define LCE120_D65_RGAIN_RATIO        1.314516

#define LCE30_ALIGHT_BGAIN_RATIO      1.247148
#define LCE30_ALIGHT_RGAIN_RATIO      1.058824
#define LCE30_CWF_BGAIN_RATIO         1.18896
#define LCE30_CWF_RGAIN_RATIO         1.184524
#define LCE30_D65_BGAIN_RATIO         1.005747
#define LCE30_D65_RGAIN_RATIO         1.314516

#define DEFAULT_SENSOR_XCLK     24


#define AWB_CTRL_MODE_OFFS	(15)
#define AWB_CTRL_MODE_MASK	0x1f
#define AWB_CTRL_RATIO_DISABLE	BIT(4)

#define MAX9296_MFP_NUM		12u
#define MAX9296_MFP_OFFSET	3u

#define SENSOR_I2C_CRC_ID	0xC007
#define CRC16_POLY		0x8005
#define MODULE_SERIAL_ADDR	(0x0008)
#define DEFAULT_EEPROM_I2C_ADDR	(0x50)
#define RETRY_POC_TIMES 3
#define POC_RETRY_POLICY 1
#define NOT_CONFIG_FLAG    2

enum OVX8B {
	NC_INCEPTIO = 0,
	NC_NURO,
	NC_WEISEN,
	SENSING_NARROW,
	SENSING,
	NC_WEISEN_DUAL,
	SENSING_DUAL,
	SENSING_WS0233,
	SUNNY_NC120,
	SUNNY_NC30,
};

enum MODE_TYPE {
	SENSING_M24F120D12_S0R0T8E5,
	SUNNY_M24F120D12_S1R8T7E5,
	SUNNY_M24F30D12_S1R8T7E5,
	LCE_M24F121D12_S1R0T8E5,
	LCE_M24F30D12_S1R0T8E5,
	SENSING_M24F120D12_S0R0T7E5,
	OFILM_M24F120D12_S1R8T7E5,
	TXD_M24F120D12_S1R8T4E6,
	MODE_TYPE_MAX,
	MODE_TYPE_NUM,
};

enum EXP_NUM {
	HDR3 = 3,
	HDR4
};

enum AWB_TYPE {
	OVX8B_AWB_DEFT,
	OVX8B_AWB_SN120,
	OVX8B_AWB_SN30,
};

enum SPECIAL_TIMING {
	OVX8B_TIMING_DEFAULT,
	OVX8B_TIMING_ONE,
};

/* from j3 auto hb_cam_interface.h */
typedef struct sensor_status_info_s {
    int32_t temperature;
    uint32_t sensor_status;
} sensor_status_info_t;

typedef struct frame_count {
	struct timeval tv;
	uint32_t frame_counter;
} frame_count_t;

frame_count_t frame_count_last;
frame_count_t frame_count_cur;

typedef struct fcnt_tv_s {
	struct timeval tv;
	uint32_t fcnt;
} fcnt_tv_t;

typedef struct fcnt_check_s {
	fcnt_tv_t fcnt_tv;
	int32_t running;
} fcnt_check_t;

typedef union sensor_status {
	uint32_t value;
	struct {
		/* sensor status */
		/* 0: normal
		** stream_off = 1: stream off
		** fps_check = 1: fps check fail
		** temp_check = 1: higher then JUNC_TEMPER_MAX
		** temp_check = 2: lower then JUNC_TEMPER_MIN
		** lock_check = 1: unlocked
		** scaler_check = 1: scaler check fail */
		uint32_t stream_off:1;
		uint32_t fps_check:1;
		uint32_t temp_check:2;
		uint32_t lock_check:1;
		uint32_t scaler_check:1;
		uint32_t reserved1:2;
		uint32_t reserved2:8;
	};
} sensor_status_u;

typedef union diag_mask {
	uint32_t value;
	struct {
		uint32_t sensor_group_hold_off:1;
		uint32_t sensor_temperature:1;
		uint32_t sensor_test_pattern:1;
		uint32_t sensor_system_check:1;
		uint32_t serdes_lock:1;
		uint32_t sensor_fcnt_test:1;
		uint32_t sensor_i2c_crc:1;
		uint32_t sensor_poc_check:1;
		uint32_t reserved:24;
	};
} diag_mask_u;

typedef struct sensor_info_ex_s {
	int32_t temperature;
	fcnt_check_t fcnt_check;
	sensor_status_u sensor_status;
	diag_mask_u diag_mask;
}sensor_info_ex_t;

uint32_t ovx8b_hdr_3exp_30fps_init_setting[] = {
	//  X8B_3840X2160_30fps_HDR3_PWL12_LFR_mipi972_27M_R1D
	0x3208, 0x04,
	0x4620, 0x04,
	0x3208, 0x14,
	0x3208, 0x05,
	0x4620, 0x04,
	0x3208, 0x15,
	0x3208, 0x02,
	0x3507, 0x00,
	0x3208, 0x12,
	0x3208, 0xa2,
	0x0305, 0x3c,
	0x0316, 0x00,
	0x0317, 0x00,
	0x0318, 0x00,
	0x0320, 0x02,
	0x0321, 0x33,
	0x0325, 0x95,
	0x0408, 0xe7,
	0x0409, 0xff,
	0x040a, 0x2b,
	0x040b, 0x32,
	0x040c, 0x28,
	0x040d, 0x5a,
	0x040e, 0x0c,
	0x3002, 0xf8,
	0x3012, 0x41,
	0x2803, 0xfe,
	0x280b, 0x00,
	0x280c, 0x79,
	0x3700, 0x19,
	0x3705, 0x00,
	0x3706, 0x35,
	0x3709, 0x5e,
	0x370a, 0x00,
	0x370b, 0x7d,
	0x370e, 0x51,
	0x3712, 0x13,
	0x3717, 0x07,
	0x3718, 0x72,
	0x3719, 0x24,
	0x372b, 0x01,
	0x372c, 0xb0,
	0x3730, 0x12,
	0x3731, 0x43,
	0x3733, 0x01,
	0x3738, 0x27,
	0x3739, 0x27,
	0x373a, 0x22,
	0x373b, 0x1a,
	0x373f, 0x21,
	0x3740, 0x21,
	0x3741, 0x1b,
	0x3742, 0x16,
	0x3745, 0x01,
	0x3747, 0x19,
	0x3748, 0x19,
	0x3750, 0x32,
	0x3755, 0x14,
	0x3756, 0x04,
	0x3757, 0x16,
	0x3759, 0x31,
	0x375a, 0x00,
	0x375b, 0x6e,
	0x376c, 0x27,
	0x3778, 0x20,
	0x377c, 0xc8,
	0x3797, 0x00,
	0x3798, 0x00,
	0x3799, 0x00,
	0x379c, 0x58,
	0x379e, 0x00,
	0x379f, 0x00,
	0x37a0, 0x00,
	0x37bc, 0x22,
	0x37c0, 0x01,
	0x37c4, 0x2f,
	0x37c5, 0x2f,
	0x37c6, 0x2a,
	0x37c7, 0x1e,
	0x37c8, 0x02,
	0x37c9, 0x09,
	0x37d0, 0x00,
	0x37d1, 0x30,
	0x37d2, 0x00,
	0x37d3, 0x6d,
	0x37d5, 0x30,
	0x37d6, 0x00,
	0x37d7, 0x64,
	0x37dc, 0x5a,
	0x37dd, 0x57,
	0x3c03, 0x01,
	0x3c04, 0x01,
	0x3c06, 0x21,
	0x3c08, 0x01,
	0x3c09, 0x01,
	0x3c0a, 0x01,
	0x3c0b, 0x21,
	0x3c12, 0xc0,
	0x3c13, 0x21,
	0x3c14, 0x03,
	0x3c21, 0x00,
	0x3c22, 0xb3,
	0x3c2a, 0x11,
	0x3c39, 0x11,
	0x3c3a, 0x01,
	0x3c3c, 0x00,
	0x3c3d, 0x01,
	0x3c3e, 0x06,
	0x3c55, 0x20,
	0x3c57, 0x0c,
	0x3c58, 0x0c,
	0x3c5a, 0x43,
	0x3c5f, 0x08,
	0x3c61, 0x80,
	0x3c78, 0x76,
	0x3cc0, 0x00,
	0x3cc1, 0x00,
	0x3cc2, 0x00,
	0x3cc3, 0x00,
	0x3cc8, 0x00,
	0x3cc9, 0x00,
	0x3cca, 0x00,
	0x3ccb, 0x00,
	0x3ce0, 0x00,
	0x3ce1, 0x01,
	0x3ce2, 0x01,
	0x3ce3, 0xd5,
	0x3ce8, 0x00,
	0x3ce9, 0x01,
	0x3cea, 0x00,
	0x3ceb, 0x58,
	0x320e, 0x00,
	0x320f, 0x00,
	0x3211, 0x61,
	0x3215, 0xcd,
	0x3400, 0x08,
	0x3408, 0x01,
	0x3589, 0x50,
	0x358b, 0x04,
	0x3541, 0x00,
	0x3542, 0x04,
	0x3548, 0x01,
	0x35c2, 0x06,
	0x35c9, 0x50,
	0x35cb, 0x04,
	0x3600, 0x8f,
	0x3603, 0x40,
	0x3606, 0x00,
	0x3607, 0x02,
	0x3609, 0xe0,
	0x360a, 0x01,
	0x3611, 0x3f,
	0x3616, 0x8a,
	0x361e, 0xf4,
	0x361f, 0xcb,
	0x3657, 0x0a,
	0x3659, 0x0a,
	0x365a, 0x0f,
	0x3674, 0x08,
	0x3677, 0x3f,
	0x3678, 0x3f,
	0x3802, 0x00,
	0x3803, 0x04,
	0x3806, 0x08,
	0x3807, 0x7b,
	0x3808, 0x0f,
	0x3809, 0x00,
	0x380a, 0x08,
	0x380b, 0x70,
	0x380c, 0x03,
	0x380d, 0xdc,
	0x380e, 0x04,
	0x380f, 0x66,
	0x3810, 0x00,
	0x3811, 0x08,
	0x3812, 0x00,
	0x3813, 0x04,
	0x3816, 0x01,
	0x3817, 0x01,
	0x381c, 0x18,
	0x381e, 0x01,
	0x381f, 0x01,
	0x3820, 0x20,
	0x3821, 0x19,
	0x3832, 0x00,
	0x3834, 0x00,
	0x384c, 0x01,
	0x384d, 0xee,
	0x3850, 0x00,
	0x3851, 0x42,
	0x3852, 0x00,
	0x3853, 0x40,
	0x3858, 0x04,
	0x388c, 0x01,
	0x388d, 0xee,
	0x3b40, 0x04,
	0x3b41, 0x80,
	0x3b42, 0x00,
	0x3b43, 0x90,
	0x3b44, 0x00,
	0x3b45, 0x20,
	0x3b46, 0x00,
	0x3b47, 0x20,
	0x3b48, 0x16,
	0x3b49, 0x0e,
	0x3b4a, 0x12,
	0x3b4b, 0x2a,
	0x3b4c, 0x00,
	0x3b4d, 0x00,
	0x3d8a, 0x03,
	0x3d8b, 0xff,
	0x420e, 0x44,
	0x420f, 0x58,
	0x4210, 0xa7,
	0x4211, 0x60,
	0x421e, 0x02,
	0x421f, 0x45,
	0x4220, 0xc1,
	0x4221, 0x01,
	0x4301, 0x0f,
	0x4307, 0x03,
	0x4308, 0x13,
	0x4309, 0x00,
	0x430a, 0x13,
	0x430d, 0x13,  // 93->12 13 embed type: default front 2 rows emb data not output

	0x430f, 0x17,
	0x4310, 0x95,
	0x4311, 0x16,
	0x4316, 0x00,
	// 0x4317, 0x38,
	0x4317, 0x28,  // default only enable 2 rows of embedded data
	0x4319, 0x01,
	0x431b, 0x00,
	0x431c, 0x2f,
	0x431d, 0x6f,
	0x431e, 0x11,
	0x431f, 0x20,
	0x4320, 0x3b,
	0x4323, 0x80,
	0x4324, 0x00,
	0x4503, 0x4e,
	0x4505, 0x00,
	0x4508, 0x10,
	0x4509, 0x00,
	0x450a, 0x00,
	0x4583, 0x06,
	0x4584, 0xee,
	0x4585, 0x08,
	0x4586, 0x88,
	0x4587, 0x04,
	0x4588, 0x0d,
	0x4589, 0x09,
	0x458a, 0xae,
	0x458b, 0x02,
	0x458c, 0x44,
	0x458d, 0x03,
	0x458e, 0x55,
	0x4602, 0x00,
	0x4603, 0x13,
	0x4604, 0x00,
	0x4606, 0x06,
	0x4607, 0x06,
	0x460a, 0x30,
	0x4610, 0x00,
	0x4611, 0xe0,
	0x4612, 0x01,
	0x4613, 0x00,
	0x4614, 0x00,
	0x4615, 0xe0,
	0x4616, 0x01,
	0x4617, 0x00,
	0x4700, 0xe0,
	0x4800, 0x04,
	0x480a, 0x22,
	0x4813, 0xe4,
	0x4814, 0x2a,
	0x4837, 0x0b,
	0x484b, 0x47,
	0x484f, 0x00,
	0x4850, 0x47,
	0x4f00, 0x3f,
	0x4f01, 0xff,
	0x4f02, 0xff,
	0x4f03, 0x2d,
	0x4f04, 0x60,
	0x6a00, 0x00,
	0x6a01, 0x20,
	0x6a02, 0x00,
	0x6a03, 0x20,
	0x6a04, 0x02,
	0x6a05, 0x80,
	0x6a06, 0x01,
	0x6a07, 0xe0,
	0x6a08, 0xcf,
	0x6a09, 0x01,
	0x6a0a, 0x40,
	0x6a20, 0x00,
	0x6a21, 0x04,
	0x6a22, 0x00,
	0x6a23, 0x00,
	0x6a24, 0x00,
	0x6a25, 0x00,
	0x6a26, 0x00,
	0x6a27, 0x00,
	0x6a28, 0x00,
	0x5aef, 0xd9,
	0x5af1, 0xf0,
	0x5af3, 0x03,
	0x5b79, 0xd9,
	0x5b7b, 0xf0,
	0x5b7d, 0x03,
	0x5b7e, 0x01,
	0x5b80, 0xc0,
	0x5b84, 0x02,
	0x5b85, 0xcc,
	0x5b8e, 0x40,
	0x5b8f, 0x80,
	0x5b92, 0x60,
	0x5b93, 0x20,
	0x5b94, 0x80,
	0x5b95, 0x80,
	0x5b96, 0x80,
	0x5b97, 0x40,
	0x5b98, 0x00,
	0x5b99, 0x80,
	0x5b9a, 0x80,
	0x5b9b, 0x80,
	0x5b9c, 0x20,
	0x5b9d, 0x00,
	0x5b9e, 0x80,
	0x5b9f, 0x80,
	0x5ba0, 0x80,
	0x5ba1, 0x10,
	0x5ba2, 0x00,
	0x5ba3, 0x80,
	0x5ba4, 0x80,
	0x5ba5, 0x80,
	0x5ba8, 0x02,
	0x5ba9, 0x00,
	0x5baa, 0x02,
	0x5bab, 0x76,
	0x5bac, 0x03,
	0x5bad, 0x08,
	0x5bae, 0x01,
	0x5baf, 0x00,
	0x5bb0, 0x02,
	0x5bb1, 0x00,
	0x5bb2, 0x03,
	0x5bb3, 0x08,
	0x5bb4, 0x05,
	0x5bb5, 0xc6,
	0x5bb8, 0x01,
	0x5bb9, 0x01,
	0x5bba, 0x01,
	0x5bbe, 0x0a,
	0x5bc0, 0x04,
	0x5bc1, 0x06,
	0x5bc4, 0x04,
	0x5bc5, 0x02,
	0x5bc7, 0x00,
	0x5bc8, 0x80,
	0x5bd2, 0x20,
	0x5bd4, 0x40,
	0x5bd5, 0x20,
	0x5bd6, 0x00,
	0x5bd7, 0x00,
	0x5bd8, 0x00,
	0x5bd9, 0x00,
	0x5bda, 0x00,
	0x5bdb, 0x00,
	0x5bdc, 0x00,
	0x5bdd, 0x00,
	0x5bde, 0x00,
	0x5bdf, 0x00,
	0x5be0, 0x00,
	0x5be7, 0x86,
	0x5c00, 0xc0,
	0x5c04, 0x02,
	0x5c05, 0xcc,
	0x5c0f, 0x80,
	0x5c12, 0x60,
	0x5c13, 0x00,
	0x5c14, 0x80,
	0x5c15, 0x80,
	0x5c16, 0x80,
	0x5c17, 0x40,
	0x5c18, 0x00,
	0x5c19, 0x80,
	0x5c1a, 0x40,
	0x5c1b, 0x20,
	0x5c1c, 0x00,
	0x5c1d, 0x00,
	0x5c1e, 0x80,
	0x5c1f, 0x00,
	0x5c22, 0x00,
	0x5c23, 0x00,
	0x5c24, 0x00,
	0x5c28, 0x02,
	0x5c29, 0x00,
	0x5c2a, 0x02,
	0x5c2b, 0x76,
	0x5c2c, 0x03,
	0x5c2d, 0x08,
	0x5c2e, 0x00,
	0x5c2f, 0x40,
	0x5c30, 0x01,
	0x5c31, 0x00,
	0x5c32, 0x02,
	0x5c33, 0x00,
	0x5c34, 0x05,
	0x5c35, 0x33,
	0x5c38, 0x01,
	0x5c39, 0x01,
	0x5c3a, 0x01,
	0x5c3e, 0x0a,
	0x5c40, 0x04,
	0x5c44, 0x04,
	0x5c47, 0x00,
	0x5c48, 0x80,
	0x5c4d, 0x40,
	0x5c51, 0x60,
	0x5c52, 0x20,
	0x5c54, 0x80,
	0x5c55, 0x80,
	0x5c56, 0x20,
	0x5c57, 0x00,
	0x5c59, 0x40,
	0x5c5a, 0x20,
	0x5c5b, 0x00,
	0x5c5c, 0x00,
	0x5c5d, 0x80,
	0x5c5e, 0x00,
	0x5c5f, 0x00,
	0x5c60, 0x00,
	0x5c67, 0x86,
	0x5c80, 0xc0,
	0x5c84, 0x02,
	0x5c85, 0xcc,
	0x5c8e, 0x80,
	0x5c8f, 0x80,
	0x5c92, 0x80,
	0x5c93, 0x60,
	0x5c94, 0x80,
	0x5c95, 0x80,
	0x5c96, 0x80,
	0x5c97, 0x60,
	0x5c98, 0x40,
	0x5c99, 0x80,
	0x5c9a, 0x80,
	0x5c9b, 0x80,
	0x5c9c, 0x40,
	0x5c9d, 0x20,
	0x5c9e, 0x80,
	0x5c9f, 0x80,
	0x5ca0, 0x80,
	0x5ca1, 0x20,
	0x5ca2, 0x00,
	0x5ca3, 0x80,
	0x5ca4, 0x80,
	0x5ca5, 0x80,
	0x5ca8, 0x01,
	0x5ca9, 0x00,
	0x5caa, 0x02,
	0x5cab, 0x00,
	0x5cac, 0x03,
	0x5cad, 0x08,
	0x5cae, 0x01,
	0x5caf, 0x00,
	0x5cb0, 0x02,
	0x5cb1, 0x00,
	0x5cb2, 0x03,
	0x5cb3, 0x08,
	0x5cb4, 0x05,
	0x5cb5, 0x33,
	0x5cb8, 0x01,
	0x5cb9, 0x01,
	0x5cba, 0x01,
	0x5cbe, 0x0a,
	0x5cc6, 0x00,
	0x5cc7, 0x00,
	0x5cc8, 0x80,
	0x5cd2, 0x60,
	0x5cd5, 0x80,
	0x5cd6, 0x60,
	0x5cd9, 0x80,
	0x5cda, 0x80,
	0x5cdb, 0x40,
	0x5cdd, 0x80,
	0x5cde, 0x80,
	0x5cdf, 0x80,
	0x5ce2, 0x80,
	0x5ce3, 0x80,
	0x5ce4, 0x80,
	0x5ce7, 0x86,
	0x6006, 0x00,
	0x6007, 0x04,
	0x6008, 0x08,
	0x6009, 0x74,
	0x600a, 0x00,
	0x600b, 0x08,
	0x600c, 0x0f,
	0x600d, 0x08,
	0x6016, 0x00,
	0x6026, 0x00,
	0x6027, 0x04,
	0x6028, 0x08,
	0x6029, 0x74,
	0x602a, 0x00,
	0x602b, 0x08,
	0x602c, 0x0f,
	0x602d, 0x08,
	0x6046, 0x00,
	0x6047, 0x04,
	0x6048, 0x08,
	0x6049, 0x74,
	0x604a, 0x00,
	0x604b, 0x08,
	0x604c, 0x0f,
	0x604d, 0x08,
	0x6066, 0x00,
	0x6067, 0x04,
	0x6068, 0x08,
	0x6069, 0x74,
	0x606a, 0x00,
	0x606b, 0x08,
	0x606c, 0x0f,
	0x606d, 0x08,
	0x6086, 0x00,
	0x6087, 0x04,
	0x6088, 0x08,
	0x6089, 0x74,
	0x608a, 0x00,
	0x608b, 0x08,
	0x608c, 0x0f,
	0x608d, 0x08,
	0x52c3, 0x00,
	0x52c4, 0x00,
	0x52c6, 0x01,
	0x52c7, 0x23,
	0x52c9, 0x02,
	0x52ca, 0x01,
	0x52cb, 0x01,
	0x52cd, 0x02,
	0x52ce, 0x01,
	0x52cf, 0x01,
	0x54c3, 0x00,
	0x54c4, 0x00,
	0x54c6, 0x01,
	0x54c7, 0x23,
	0x54c9, 0x02,
	0x54ca, 0x01,
	0x54cb, 0x01,
	0x54cd, 0x02,
	0x54ce, 0x01,
	0x54cf, 0x01,
	0x56c3, 0x00,
	0x56c4, 0x00,
	0x56c6, 0x01,
	0x56c7, 0x23,
	0x56c9, 0x02,
	0x56ca, 0x01,
	0x56cb, 0x01,
	0x56cd, 0x02,
	0x56ce, 0x01,
	0x56cf, 0x01,
	0x58c3, 0x00,
	0x58c4, 0x00,
	0x58c6, 0x01,
	0x58c7, 0x23,
	0x58c9, 0x02,
	0x58ca, 0x01,
	0x58cb, 0x01,
	0x58cd, 0x02,
	0x58ce, 0x01,
	0x58cf, 0x01,
	0x5e00, 0x00,
	0x5e01, 0x08,
	0x5e02, 0x08,
	0x5e03, 0x09,
	0x5e04, 0x0a,
	0x5e05, 0x0b,
	0x5e06, 0x0c,
	0x5e07, 0x0c,
	0x5e08, 0x0c,
	0x5e09, 0x0c,
	0x5e0a, 0x0c,
	0x5e0b, 0x0d,
	0x5e0c, 0x0d,
	0x5e0d, 0x0d,
	0x5e0e, 0x0d,
	0x5e0f, 0x0d,
	0x5e10, 0x0d,
	0x5e11, 0x0d,
	0x5e12, 0x0e,
	0x5e13, 0x0e,
	0x5e14, 0x0e,
	0x5e15, 0x0e,
	0x5e16, 0x0e,
	0x5e17, 0x0e,
	0x5e18, 0x0e,
	0x5e19, 0x10,
	0x5e1a, 0x11,
	0x5e1b, 0x11,
	0x5e1c, 0x12,
	0x5e1d, 0x12,
	0x5e1e, 0x14,
	0x5e1f, 0x15,
	0x5e20, 0x16,
	0x5e21, 0x17,
	0x5e22, 0x00,
	0x5e23, 0x01,
	0x5e26, 0x00,
	0x5e27, 0x3f,
	0x5e29, 0x00,
	0x5e2a, 0x40,
	0x5e2c, 0x00,
	0x5e2d, 0x40,
	0x5e2f, 0x00,
	0x5e30, 0x40,
	0x5e32, 0x00,
	0x5e33, 0x40,
	0x5e34, 0x00,
	0x5e35, 0x00,
	0x5e36, 0x40,
	0x5e37, 0x00,
	0x5e38, 0x00,
	0x5e39, 0x40,
	0x5e3a, 0x00,
	0x5e3b, 0x00,
	0x5e3c, 0x40,
	0x5e3d, 0x00,
	0x5e3e, 0x00,
	0x5e3f, 0x40,
	0x5e40, 0x00,
	0x5e41, 0x00,
	0x5e42, 0x60,
	0x5e43, 0x00,
	0x5e44, 0x00,
	0x5e45, 0x60,
	0x5e46, 0x00,
	0x5e47, 0x00,
	0x5e48, 0x60,
	0x5e49, 0x00,
	0x5e4a, 0x00,
	0x5e4b, 0x60,
	0x5e4c, 0x00,
	0x5e4d, 0x00,
	0x5e4e, 0x60,
	0x5e50, 0x00,
	0x5e51, 0x60,
	0x5e53, 0x00,
	0x5e54, 0x60,
	0x5e56, 0x00,
	0x5e57, 0x80,
	0x5e59, 0x00,
	0x5e5a, 0x80,
	0x5e5c, 0x00,
	0x5e5d, 0x80,
	0x5e5f, 0x00,
	0x5e60, 0x80,
	0x5e62, 0x00,
	0x5e63, 0x80,
	0x5e65, 0x00,
	0x5e66, 0x80,
	0x5e68, 0x00,
	0x5e69, 0x80,
	0x5e6b, 0x01,
	0x5e6c, 0x20,
	0x5e6e, 0x01,
	0x5e6f, 0xd0,
	0x5e71, 0x01,
	0x5e72, 0x30,
	0x5e74, 0x01,
	0x5e75, 0x80,
	0x5e77, 0x01,
	0x5e78, 0x00,
	0x5e7a, 0x00,
	0x5e7b, 0x00,
	0x5e7d, 0x00,
	0x5e7e, 0x00,
	0x5e80, 0x00,
	0x5e81, 0x00,
	0x5e83, 0x00,
	0x5e84, 0x00,
	0x5f00, 0x02,
	0x5f01, 0x08,
	0x5f02, 0x09,
	0x5f03, 0x0a,
	0x5f04, 0x0b,
	0x5f05, 0x0c,
	0x5f06, 0x0c,
	0x5f07, 0x0c,
	0x5f08, 0x0c,
	0x5f09, 0x0c,
	0x5f0a, 0x0d,
	0x5f0b, 0x0d,
	0x5f0c, 0x0d,
	0x5f0d, 0x0d,
	0x5f0e, 0x0d,
	0x5f0f, 0x0e,
	0x5f10, 0x0e,
	0x5f11, 0x0e,
	0x5f12, 0x0e,
	0x5f13, 0x0f,
	0x5f14, 0x0f,
	0x5f15, 0x10,
	0x5f16, 0x11,
	0x5f17, 0x11,
	0x5f18, 0x12,
	0x5f19, 0x12,
	0x5f1a, 0x13,
	0x5f1b, 0x13,
	0x5f1c, 0x14,
	0x5f1d, 0x14,
	0x5f1e, 0x16,
	0x5f1f, 0x16,
	0x5f20, 0x16,
	0x5f21, 0x08,
	0x5f22, 0x00,
	0x5f23, 0x01,
	0x5f26, 0x02,
	0x5f27, 0x00,
	0x5f29, 0x02,
	0x5f2a, 0x00,
	0x5f2c, 0x02,
	0x5f2d, 0x00,
	0x5f2f, 0x02,
	0x5f30, 0x00,
	0x5f32, 0x02,
	0x5f33, 0x00,
	0x5f34, 0x00,
	0x5f35, 0x02,
	0x5f36, 0x00,
	0x5f37, 0x00,
	0x5f38, 0x02,
	0x5f39, 0x00,
	0x5f3a, 0x00,
	0x5f3b, 0x02,
	0x5f3c, 0x00,
	0x5f3d, 0x00,
	0x5f3e, 0x02,
	0x5f3f, 0x00,
	0x5f40, 0x00,
	0x5f41, 0x02,
	0x5f42, 0x00,
	0x5f43, 0x00,
	0x5f44, 0x02,
	0x5f45, 0x00,
	0x5f46, 0x00,
	0x5f47, 0x04,
	0x5f48, 0x00,
	0x5f49, 0x00,
	0x5f4a, 0x04,
	0x5f4b, 0x00,
	0x5f4c, 0x00,
	0x5f4d, 0x04,
	0x5f4e, 0x00,
	0x5f50, 0x04,
	0x5f51, 0x00,
	0x5f53, 0x04,
	0x5f54, 0x00,
	0x5f56, 0x04,
	0x5f57, 0x00,
	0x5f59, 0x04,
	0x5f5a, 0x00,
	0x5f5c, 0x04,
	0x5f5d, 0x00,
	0x5f5f, 0x08,
	0x5f60, 0x00,
	0x5f62, 0x08,
	0x5f63, 0x00,
	0x5f65, 0x08,
	0x5f66, 0x00,
	0x5f68, 0x08,
	0x5f69, 0x00,
	0x5f6b, 0x08,
	0x5f6c, 0x00,
	0x5f6e, 0x10,
	0x5f6f, 0x00,
	0x5f71, 0x10,
	0x5f72, 0x00,
	0x5f74, 0x10,
	0x5f75, 0x00,
	0x5f77, 0x10,
	0x5f78, 0x00,
	0x5f7a, 0x20,
	0x5f7b, 0x00,
	0x5f7d, 0x20,
	0x5f7e, 0x00,
	0x5f80, 0x20,
	0x5f81, 0x00,
	0x5f83, 0x00,
	0x5f84, 0xff,
	0x5240, 0x0f,
	0x5241, 0x00,
	0x5242, 0x00,
	0x5243, 0x00,
	0x5244, 0x00,
	0x5245, 0x00,
	0x5246, 0x00,
	0x5247, 0x00,
	0x5248, 0x00,
	0x5249, 0x00,
	0x5440, 0x0f,
	0x5441, 0x00,
	0x5442, 0x00,
	0x5443, 0x00,
	0x5444, 0x00,
	0x5445, 0x00,
	0x5446, 0x00,
	0x5447, 0x00,
	0x5448, 0x00,
	0x5449, 0x00,
	0x5640, 0x0f,
	0x5641, 0x00,
	0x5642, 0x00,
	0x5643, 0x00,
	0x5644, 0x00,
	0x5645, 0x00,
	0x5646, 0x00,
	0x5647, 0x00,
	0x5648, 0x00,
	0x5649, 0x00,
	0x5840, 0x0f,
	0x5841, 0x00,
	0x5842, 0x00,
	0x5843, 0x00,
	0x5844, 0x00,
	0x5845, 0x00,
	0x5846, 0x00,
	0x5847, 0x00,
	0x5848, 0x00,
	0x5849, 0x00,
	0x5000, 0x87,
	0x5001, 0x65,
	0x5002, 0x7f,
	0x5003, 0x6a,
	0x5004, 0x3e,
	0x5005, 0x1e,
	0x5006, 0x1e,
	0x5007, 0x1e,
	0x5008, 0x00,
	0x500a, 0x3f,
	0x500c, 0x00,
	0x502a, 0x10,
	0x502c, 0x00,
	0x504b, 0x00,
	0x5053, 0x00,
	0x505b, 0x00,
	0x5063, 0x00,
	0x5070, 0x00,
	0x5074, 0x04,
	0x4000, 0x78,
	0x4001, 0x2b,
	0x4008, 0x01,
	0x400b, 0x02,
	0x400e, 0x02,
	0x400f, 0x80,
	0x4012, 0x30,
	0x4013, 0x01,
	0x4018, 0x12,
	0x401e, 0x00,
	0x401f, 0x02,
	0x4021, 0x05,
	0x4022, 0x40,
	0x4023, 0x20,
	0x4026, 0x00,
	0x4027, 0x40,
	0x4028, 0x00,
	0x4029, 0x40,
	0x402a, 0x00,
	0x402b, 0x40,
	0x402c, 0x00,
	0x402d, 0x40,
	0x407e, 0xcc,
	0x407f, 0x18,
	0x4082, 0x02,
	0x4083, 0x80,
	0x4084, 0x02,
	0x4085, 0x80,
	0x4086, 0x02,
	0x4087, 0x80,
	0x4640, 0x40,
	0x4641, 0x11,
	0x4642, 0x0e,
	0x4643, 0xee,
	0x4646, 0x0f,
	0x4648, 0x00,
	0x4649, 0x03,
	0x5d09, 0x6b,
	0x5d0b, 0x6b,
	0x5d19, 0x6b,
	0x5d40, 0x02,
	0x5d42, 0x02,
	0x5d43, 0x85,
	0x5d44, 0x1b,
	0x5d45, 0xdd,
	0x5d46, 0x02,
	0x5d47, 0x85,
	0x5d48, 0x1b,
	0x5d49, 0xdd,
	0x5d4a, 0x02,
	0x5d4b, 0x40,
	0x5d4c, 0x02,
	0x5d4d, 0x40,
	0x5d4e, 0x02,
	0x5d4f, 0x40,
	0x5d50, 0x18,
	0x5d51, 0x80,
	0x5d52, 0x18,
	0x5d53, 0x80,
	0x5d54, 0x18,
	0x5d55, 0x80,
	0x5d57, 0x10,
	0x5d59, 0x20,
	0x5d5c, 0x02,
	0x5d5d, 0x40,
	0x5d5e, 0x02,
	0x5d5f, 0x40,
	0x5d60, 0x03,
	0x5d61, 0x40,
	0x5d62, 0x07,
	0x5d63, 0x28,
	0x5d65, 0xff,
	0x6102, 0x1f,
	0x610a, 0x0f,
	0x610b, 0x20,
	0x610c, 0x08,
	0x610d, 0x80,
	0x6144, 0x75,
	0x6145, 0x75,
	0x6146, 0x75,
	0x6147, 0x75,
	0x6148, 0x75,
	0x6149, 0x75,
	0x614a, 0x75,
	0x614b, 0x75,
	0x614c, 0x75,
	0x614d, 0x75,
	0x614e, 0x75,
	0x614f, 0x75,
	0x6150, 0x75,
	0x6151, 0x75,
	0x6152, 0x75,
	0x6153, 0x75,
	0x6154, 0x75,
	0x6155, 0x75,
	0x6156, 0x75,
	0x6157, 0x75,
	0x6158, 0x75,
	0x6159, 0x75,
	0x615a, 0x75,
	0x615b, 0x75,
	0x615c, 0x75,
	0x615d, 0x75,
	0x615e, 0x75,
	0x615f, 0x75,
	0x6160, 0x75,
	0x6161, 0x75,
	0x6162, 0x75,
	0x6163, 0x75,
	0x6164, 0x75,
	0x6165, 0x75,
	0x6166, 0x75,
	0x6167, 0x75,
	0x6168, 0x75,
	0x6169, 0x75,
	0x616a, 0x75,
	0x616b, 0x75,
	0x616c, 0x75,
	0x616d, 0x75,
	0x616e, 0x75,
	0x616f, 0x75,
	0x6170, 0x75,
	0x6171, 0x75,
	0x6172, 0x75,
	0x6173, 0x75,
	0x6174, 0x75,
	0x6175, 0x75,
	0x6176, 0x75,
	0x6177, 0x75,
	0x6178, 0x75,
	0x6179, 0x75,
	0x617a, 0x75,
	0x617b, 0x75,
	0x617c, 0x75,
	0x617d, 0x75,
	0x617e, 0x75,
	0x617f, 0x75,
	0x6180, 0x75,
	0x6181, 0x75,
	0x6182, 0x75,
	0x6183, 0x75,
	0x6184, 0x75,
	0x6185, 0x75,
	0x6186, 0x75,
	0x6187, 0x75,
	0x6188, 0x75,
	0x6189, 0x75,
	0x618a, 0x75,
	0x618b, 0x75,
	0x618c, 0x75,
	0x618d, 0x75,
	0x618e, 0x75,
	0x618f, 0x75,
	0x6190, 0x75,
	0x6191, 0x75,
	0x6192, 0x75,
	0x6193, 0x75,
	0x6194, 0x75,
	0x6195, 0x75,
	0x6196, 0x75,
	0x6197, 0x75,
	0x6198, 0x75,
	0x6199, 0x75,
	0x619a, 0x75,
	0x619b, 0x75,
	0x619c, 0x75,
	0x619d, 0x75,
	0x619e, 0x75,
	0x619f, 0x75,
	0x61a0, 0x75,
	0x61a1, 0x75,
	0x61a2, 0x75,
	0x61a3, 0x75,
	0x61a4, 0x75,
	0x61a5, 0x75,
	0x61a6, 0x75,
	0x61a7, 0x75,
	0x61a8, 0x75,
	0x61a9, 0x75,
	0x61aa, 0x75,
	0x61ab, 0x75,
	0x61ac, 0x75,
	0x61ad, 0x75,
	0x61ae, 0x75,
	0x61af, 0x75,
	0x5022, 0x02,
	0x5023, 0x00,
	0x380e, 0x04,
	0x380f, 0x66,
	0x380c, 0x04,
	0x380d, 0xae,
	0x384c, 0x02,
	0x384d, 0x58,
	0x388c, 0x02,
	0x388d, 0x58,
	0x0305, 0x48,
	0x0307, 0x01,
	0x0325, 0x68,
	0x501a, 0xff,
	0x501b, 0xff,
	0x501e, 0x40,
	0x501f, 0x00,
	0x5022, 0x08,
	0x5023, 0x7a,
	0x5026, 0x40,
	0x5027, 0x00,
};

uint32_t ovx8b_hdr_4exp_30fps_init_setting[] = {
	0x3208, 0x04,
	0x4620, 0x04,
	0x3208, 0x14,
	0x3208, 0x05,
	0x4620, 0x04,
	0x3208, 0x15,
	0x3208, 0x02,
	0x3507, 0x00,
	0x3208, 0x12,
	0x3208, 0xa2,
	0x0305, 0x5c,
	0x0316, 0x00,
	0x0317, 0x00,
	0x0318, 0x00,
	0x0320, 0x02,
	0x0321, 0x33,
	0x0325, 0x95,
	0x0408, 0xe7,
	0x0409, 0xff,
	0x040a, 0x2b,
	0x040b, 0x32,
	0x040c, 0x28,
	0x040d, 0x5a,
	0x040e, 0x0c,
	0x3002, 0xf8,
	0x3012, 0x41,
	0x2803, 0xfe,
	0x280b, 0x00,
	0x280c, 0x79,
	0x3700, 0x19,
	0x3703, 0x43,
	0x3705, 0x00,
	0x3706, 0x37,
	0x3708, 0x32,
	0x3709, 0x5e,
	0x370a, 0x00,
	0x370b, 0x83,
	0x370e, 0x51,
	0x3712, 0x13,
	0x3717, 0x07,
	0x3718, 0x72,
	0x3719, 0x31,
	0x372b, 0x01,
	0x372c, 0xb0,
	0x372d, 0x1e,
	0x3730, 0x05,
	0x3731, 0x43,
	0x3733, 0x01,
	0x3738, 0x27,
	0x3739, 0x27,
	0x373a, 0x22,
	0x373b, 0x1a,
	0x373f, 0x21,
	0x3740, 0x21,
	0x3741, 0x1b,
	0x3742, 0x16,
	0x3745, 0x01,
	0x3747, 0x19,
	0x3748, 0x19,
	0x3750, 0x32,
	0x3755, 0x14,
	0x3756, 0x04,
	0x3757, 0x16,
	0x3759, 0x33,
	0x375a, 0x00,
	0x375b, 0x6d,
	0x376c, 0x27,
	0x3778, 0x20,
	0x377c, 0x88,
	0x3797, 0x00,
	0x3798, 0x00,
	0x3799, 0x00,
	0x379c, 0x58,
	0x379e, 0x00,
	0x379f, 0x00,
	0x37a0, 0x00,
	0x37a1, 0x00,
	0x37bc, 0x22,
	0x37c0, 0x01,
	0x37c4, 0x34,
	0x37c5, 0x2f,
	0x37c6, 0x2a,
	0x37c7, 0x1e,
	0x37c8, 0x02,
	0x37c9, 0x09,
	0x37d0, 0x00,
	0x37d1, 0x32,
	0x37d2, 0x00,
	0x37d3, 0x6c,
	0x37d5, 0x32,
	0x37d6, 0x00,
	0x37d7, 0x66,
	0x37dc, 0x5a,
	0x37dd, 0x57,
	0x3c03, 0x01,
	0x3c04, 0x01,
	0x3c06, 0x21,
	0x3c08, 0x01,
	0x3c09, 0x01,
	0x3c0a, 0x01,
	0x3c0b, 0x21,
	0x3c12, 0x40,
	0x3c13, 0x21,
	0x3c14, 0x03,
	0x3c21, 0x00,
	0x3c22, 0xb3,
	0x3c2a, 0x11,
	0x3c39, 0x11,
	0x3c3a, 0x01,
	0x3c3c, 0x00,
	0x3c3d, 0x01,
	0x3c3e, 0x06,
	0x3c4e, 0x0f,
	0x3c55, 0x00,
	0x3c57, 0x23,
	0x3c58, 0x27,
	0x3c5a, 0x11,
	0x3c5f, 0x08,
	0x3c61, 0x80,
	0x3c70, 0x62,
	0x3c74, 0x43,
	0x3c78, 0x77,
	0x3cc0, 0x00,
	0x3cc1, 0x00,
	0x3cc2, 0x00,
	0x3cc3, 0x00,
	0x3cc8, 0x00,
	0x3cc9, 0x00,
	0x3cca, 0x00,
	0x3ccb, 0x00,
	0x3ce0, 0x00,
	0x3ce1, 0x01,
	0x3ce2, 0x01,
	0x3ce3, 0xd5,
	0x3ce8, 0x00,
	0x3ce9, 0x01,
	0x3cea, 0x00,
	0x3ceb, 0x58,
	0x320e, 0x00,
	0x320f, 0x00,
	0x3211, 0x61,
	0x3215, 0xcd,
	0x3219, 0x08,
	0x3400, 0x08,
	0x3408, 0x01,
	0x3506, 0x30,
	0x3586, 0x50,
	0x3588, 0x01,
	0x3589, 0x50,
	0x358b, 0x04,
	0x3541, 0x00,
	0x3542, 0x04,
	0x3546, 0x10,
	0x3548, 0x01,
	0x3549, 0x00,
	0x35c2, 0x02,
	0x35c6, 0x90,
	0x35c8, 0x01,
	0x35c9, 0x50,
	0x35cb, 0x04,
	0x3600, 0x8f,
	0x3603, 0x40,
	0x3606, 0x00,
	0x3607, 0x02,
	0x3609, 0xe0,
	0x360a, 0x01,
	0x360e, 0x1d,
	0x3611, 0x47,
	0x3616, 0x8a,
	0x361b, 0x5c,
	0x361e, 0xdc,
	0x361f, 0xca,
	0x3657, 0x0a,
	0x3659, 0x0a,
	0x365a, 0x0f,
	0x3674, 0x08,
	0x3677, 0x47,
	0x3678, 0x47,
	0x3802, 0x00,
	0x3803, 0x04,
	0x3806, 0x08,
	0x3807, 0x7b,
	0x3808, 0x0f,
	0x3809, 0x00,
	0x380a, 0x08,
	0x380b, 0x70,
	0x380c, 0x03,
	0x380d, 0xf5,
	0x380e, 0x04,
	0x380f, 0x66,
	0x3810, 0x00,
	0x3811, 0x08,
	0x3812, 0x00,
	0x3813, 0x04,
	0x3816, 0x01,
	0x3817, 0x01,
	0x381c, 0x18,
	0x381e, 0x01,
	0x381f, 0x01,
	0x3820, 0x20,
	0x3821, 0x19,
	0x3832, 0x00,
	0x3834, 0x00,
	0x384c, 0x01,
	0x384d, 0xec,
	0x3850, 0x00,
	0x3851, 0x42,
	0x3852, 0x00,
	0x3853, 0x40,
	0x3858, 0x04,
	0x388c, 0x01,
	0x388d, 0xe7,
	0x3b40, 0x05,
	0x3b41, 0x40,
	0x3b42, 0x00,
	0x3b43, 0x90,
	0x3b44, 0x00,
	0x3b45, 0x20,
	0x3b46, 0x00,
	0x3b47, 0x20,
	0x3b48, 0x1a,
	0x3b49, 0x13,
	0x3b4a, 0x17,
	0x3b4b, 0x2f,
	0x3b4c, 0x00,
	0x3b4d, 0x10,
	0x3b8a, 0x08,
	0x3b8b, 0x70,
	0x3b8c, 0x0f,
	0x3b8d, 0x00,
	0x3b92, 0x08,
	0x3b93, 0x70,
	0x3b94, 0x0f,
	0x3b95, 0x00,
	0x3b9e, 0x09,
	0x3d8a, 0x03,
	0x3d8b, 0xff,
	0x3da4, 0x00,
	0x420e, 0x44,
	0x420f, 0x41,
	0x4210, 0x57,
	0x4211, 0x78,
	0x421e, 0x02,
	0x421f, 0x55,
	0x4220, 0xe1,
	0x4221, 0x07,
	0x4301, 0xff,
	0x4307, 0x03,
	0x4308, 0x13,
	0x4309, 0x00,
	0x430a, 0x13,
	0x430d, 0x13,  // 93->12 13 embed type: default front 2 rows emb data not output
	0x430f, 0x17,  // statistics off
	0x4310, 0x95,
	0x4311, 0x16,
	0x4316, 0x00,
	0x4317, 0x28,  // default only enable 2 rows of embedded data
	0x4319, 0x03,
	0x431a, 0x00,
	0x431b, 0x00,
	0x431c, 0x27,
	0x431d, 0x67,
	0x431e, 0x11,
	0x431f, 0x20,
	0x4320, 0x3b,
	0x4323, 0x80,
	0x4324, 0x00,
	0x4503, 0x4e,
	0x4505, 0x00,
	0x4508, 0x10,
	0x4509, 0x00,
	0x450a, 0x00,
	0x4583, 0x07,
	0x4584, 0x6a,
	0x4585, 0x08,
	0x4586, 0x05,
	0x4587, 0x04,
	0x4588, 0x73,
	0x4589, 0x05,
	0x458a, 0x1f,
	0x458b, 0x02,
	0x458c, 0xdc,
	0x458d, 0x03,
	0x458e, 0x02,
	0x4597, 0x07,
	0x4598, 0x40,
	0x4599, 0x0c,
	0x459a, 0x0c,
	0x459b, 0xfa,
	0x459c, 0xf8,
	0x4602, 0x00,
	0x4603, 0x13,
	0x4604, 0x00,
	0x4606, 0x06,
	0x4607, 0x06,
	0x460a, 0x30,
	0x4610, 0x00,
	0x4611, 0x50,
	0x4612, 0x01,
	0x4613, 0x00,
	0x4614, 0x00,
	0x4615, 0x50,
	0x4616, 0x01,
	0x4617, 0x00,
	0x4700, 0xe0,
	0x4702, 0x00,
	0x4800, 0x04,
	0x4808, 0x07,
	0x480a, 0x22,
	0x4813, 0xe4,
	0x4814, 0x2a,
	0x4837, 0x07,
	0x484b, 0x47,
	0x484f, 0x00,
	0x4850, 0x47,
	0x4853, 0x04,
	0x4855, 0x09,
	0x4d30, 0x0a,
	0x4d31, 0x00,
	0x4d5a, 0x1a,
	0x4f00, 0x00,
	0x4f01, 0x00,
	0x4f02, 0x00,
	0x4f03, 0x20,
	0x6a00, 0x00,
	0x6a01, 0x20,
	0x6a02, 0x00,
	0x6a03, 0x20,
	0x6a04, 0x02,
	0x6a05, 0x80,
	0x6a06, 0x01,
	0x6a07, 0xe0,
	0x6a08, 0xcf,
	0x6a09, 0x01,
	0x6a0a, 0x40,
	0x6a20, 0x00,
	0x6a21, 0x04,
	0x6a22, 0x00,
	0x6a23, 0x00,
	0x6a24, 0x00,
	0x6a25, 0x00,
	0x6a26, 0x00,
	0x6a27, 0x00,
	0x6a28, 0x00,
	0x5aef, 0xd9,
	0x5af1, 0xf0,
	0x5af3, 0x03,
	0x5b79, 0xd9,
	0x5b7b, 0xf0,
	0x5b7d, 0x03,
	0x5b7e, 0x01,
	0x5200, 0x04,
	0x5201, 0x04,
	0x5202, 0x04,
	0x5203, 0x04,
	0x5400, 0x04,
	0x5401, 0x04,
	0x5402, 0x04,
	0x5403, 0x04,
	0x5600, 0x04,
	0x5601, 0x04,
	0x5602, 0x04,
	0x5603, 0x04,
	0x5800, 0x04,
	0x5801, 0x04,
	0x5802, 0x04,
	0x5803, 0x04,
	0x5b80, 0xc8,
	0x5b84, 0x02,
	0x5b85, 0xcc,
	0x5b8e, 0x40,
	0x5b8f, 0x80,
	0x5b92, 0x60,
	0x5b93, 0x10,
	0x5b94, 0x80,
	0x5b95, 0x80,
	0x5b96, 0x80,
	0x5b97, 0x20,
	0x5b98, 0x00,
	0x5b99, 0x80,
	0x5b9a, 0x40,
	0x5b9b, 0x20,
	0x5b9c, 0x00,
	0x5b9d, 0x00,
	0x5b9e, 0x80,
	0x5b9f, 0x00,
	0x5ba0, 0x00,
	0x5ba1, 0x00,
	0x5ba2, 0x00,
	0x5ba3, 0x00,
	0x5ba4, 0x00,
	0x5ba5, 0x00,
	0x5ba8, 0x02,
	0x5ba9, 0x00,
	0x5baa, 0x02,
	0x5bab, 0x76,
	0x5bac, 0x03,
	0x5bad, 0x08,
	0x5bae, 0x00,
	0x5baf, 0x80,
	0x5bb0, 0x01,
	0x5bb1, 0x00,
	0x5bb2, 0x02,
	0x5bb3, 0x00,
	0x5bb4, 0x05,
	0x5bb5, 0xc6,
	0x5bb8, 0x01,
	0x5bb9, 0x01,
	0x5bba, 0x01,
	0x5bbe, 0x0a,
	0x5bc0, 0x04,
	0x5bc1, 0x06,
	0x5bc4, 0x04,
	0x5bc5, 0x02,
	0x5bc7, 0x00,
	0x5bc8, 0x80,
	0x5bd2, 0x20,
	0x5bd4, 0x40,
	0x5bd5, 0x20,
	0x5bd6, 0x00,
	0x5bd7, 0x00,
	0x5bd8, 0x00,
	0x5bd9, 0x00,
	0x5bda, 0x00,
	0x5bdb, 0x00,
	0x5bdc, 0x00,
	0x5bdd, 0x00,
	0x5bde, 0x00,
	0x5bdf, 0x00,
	0x5be0, 0x00,
	0x5be7, 0x86,
	0x5c00, 0xc8,
	0x5c04, 0x02,
	0x5c05, 0xcc,
	0x5c0e, 0x40,
	0x5c0f, 0x80,
	0x5c12, 0x60,
	0x5c13, 0x10,
	0x5c14, 0x80,
	0x5c15, 0x80,
	0x5c16, 0x80,
	0x5c17, 0x20,
	0x5c18, 0x00,
	0x5c19, 0x80,
	0x5c1a, 0x40,
	0x5c1b, 0x20,
	0x5c1c, 0x00,
	0x5c1d, 0x00,
	0x5c1e, 0x80,
	0x5c1f, 0x00,
	0x5c22, 0x00,
	0x5c23, 0x00,
	0x5c24, 0x00,
	0x5c28, 0x02,
	0x5c29, 0x00,
	0x5c2a, 0x02,
	0x5c2b, 0x76,
	0x5c2c, 0x03,
	0x5c2d, 0x08,
	0x5c2e, 0x00,
	0x5c2f, 0x40,
	0x5c30, 0x01,
	0x5c31, 0x00,
	0x5c32, 0x02,
	0x5c33, 0x00,
	0x5c34, 0x05,
	0x5c35, 0x33,
	0x5c38, 0x01,
	0x5c39, 0x01,
	0x5c3a, 0x01,
	0x5c3e, 0x0a,
	0x5c40, 0x04,
	0x5c44, 0x04,
	0x5c47, 0x00,
	0x5c48, 0x80,
	0x5c4d, 0x40,
	0x5c51, 0x60,
	0x5c52, 0x20,
	0x5c54, 0x80,
	0x5c55, 0x80,
	0x5c56, 0x20,
	0x5c57, 0x00,
	0x5c59, 0x40,
	0x5c5a, 0x20,
	0x5c5b, 0x00,
	0x5c5c, 0x00,
	0x5c5d, 0x80,
	0x5c5e, 0x00,
	0x5c5f, 0x00,
	0x5c60, 0x00,
	0x5c67, 0x86,
	0x5c80, 0xc0,
	0x5c84, 0x02,
	0x5c85, 0xcc,
	0x5c8e, 0x80,
	0x5c8f, 0x80,
	0x5c92, 0x80,
	0x5c93, 0x60,
	0x5c94, 0x80,
	0x5c95, 0x80,
	0x5c96, 0x80,
	0x5c97, 0x60,
	0x5c98, 0x40,
	0x5c99, 0x80,
	0x5c9a, 0x80,
	0x5c9b, 0x80,
	0x5c9c, 0x40,
	0x5c9d, 0x00,
	0x5c9e, 0x80,
	0x5c9f, 0x80,
	0x5ca0, 0x80,
	0x5ca1, 0x20,
	0x5ca2, 0x00,
	0x5ca3, 0x80,
	0x5ca4, 0x80,
	0x5ca5, 0x80,
	0x5ca8, 0x01,
	0x5ca9, 0x00,
	0x5caa, 0x02,
	0x5cab, 0x00,
	0x5cac, 0x03,
	0x5cad, 0x08,
	0x5cae, 0x01,
	0x5caf, 0x00,
	0x5cb0, 0x02,
	0x5cb1, 0x00,
	0x5cb2, 0x03,
	0x5cb3, 0x08,
	0x5cb4, 0x05,
	0x5cb5, 0x33,
	0x5cb8, 0x01,
	0x5cb9, 0x01,
	0x5cba, 0x01,
	0x5cbe, 0x0a,
	0x5cc6, 0x00,
	0x5cc7, 0x00,
	0x5cc8, 0x80,
	0x5cd2, 0x60,
	0x5cd5, 0x80,
	0x5cd6, 0x60,
	0x5cd9, 0x80,
	0x5cda, 0x80,
	0x5cdb, 0x40,
	0x5cdd, 0x80,
	0x5cde, 0x80,
	0x5cdf, 0x80,
	0x5ce2, 0x80,
	0x5ce3, 0x80,
	0x5ce4, 0x80,
	0x5ce7, 0x86,
	0x6006, 0x00,
	0x6007, 0x04,
	0x6008, 0x08,
	0x6009, 0x72,
	0x600a, 0x00,
	0x600b, 0x08,
	0x600c, 0x0f,
	0x600d, 0x08,
	0x6016, 0x00,
	0x6026, 0x00,
	0x6027, 0x04,
	0x6028, 0x08,
	0x6029, 0x72,
	0x602a, 0x00,
	0x602b, 0x08,
	0x602c, 0x0f,
	0x602d, 0x08,
	0x6046, 0x00,
	0x6047, 0x04,
	0x6048, 0x08,
	0x6049, 0x72,
	0x604a, 0x00,
	0x604b, 0x08,
	0x604c, 0x0f,
	0x604d, 0x08,
	0x6066, 0x00,
	0x6067, 0x04,
	0x6068, 0x08,
	0x6069, 0x72,
	0x606a, 0x00,
	0x606b, 0x08,
	0x606c, 0x0f,
	0x606d, 0x08,
	0x6086, 0x00,
	0x6087, 0x04,
	0x6088, 0x08,
	0x6089, 0x72,
	0x608a, 0x00,
	0x608b, 0x08,
	0x608c, 0x0f,
	0x608d, 0x08,
	0x52c3, 0x00,
	0x52c4, 0x00,
	0x52c6, 0x01,
	0x52c7, 0x23,
	0x52c9, 0x02,
	0x52ca, 0x01,
	0x52cb, 0x01,
	0x52cd, 0x02,
	0x52ce, 0x01,
	0x52cf, 0x01,
	0x54c3, 0x00,
	0x54c4, 0x00,
	0x54c6, 0x01,
	0x54c7, 0x23,
	0x54c9, 0x02,
	0x54ca, 0x01,
	0x54cb, 0x01,
	0x54cd, 0x02,
	0x54ce, 0x01,
	0x54cf, 0x01,
	0x56c3, 0x00,
	0x56c4, 0x00,
	0x56c6, 0x01,
	0x56c7, 0x23,
	0x56c9, 0x02,
	0x56ca, 0x01,
	0x56cb, 0x01,
	0x56cd, 0x02,
	0x56ce, 0x01,
	0x56cf, 0x01,
	0x58c3, 0x00,
	0x58c4, 0x00,
	0x58c6, 0x01,
	0x58c7, 0x23,
	0x58c9, 0x02,
	0x58ca, 0x01,
	0x58cb, 0x01,
	0x58cd, 0x02,
	0x58ce, 0x01,
	0x58cf, 0x01,
	0x5e00, 0x00,
	0x5e01, 0x09,
	0x5e02, 0x09,
	0x5e03, 0x0a,
	0x5e04, 0x0a,
	0x5e05, 0x0a,
	0x5e06, 0x0b,
	0x5e07, 0x0b,
	0x5e08, 0x0c,
	0x5e09, 0x0c,
	0x5e0a, 0x0d,
	0x5e0b, 0x0d,
	0x5e0c, 0x0e,
	0x5e0d, 0x0e,
	0x5e0e, 0x0f,
	0x5e0f, 0x0f,
	0x5e10, 0x10,
	0x5e11, 0x10,
	0x5e12, 0x11,
	0x5e13, 0x11,
	0x5e14, 0x12,
	0x5e15, 0x12,
	0x5e16, 0x12,
	0x5e17, 0x12,
	0x5e18, 0x13,
	0x5e19, 0x13,
	0x5e1a, 0x13,
	0x5e1b, 0x14,
	0x5e1c, 0x14,
	0x5e1d, 0x14,
	0x5e1e, 0x15,
	0x5e1f, 0x15,
	0x5e20, 0x15,
	0x5e21, 0x16,
	0x5e22, 0x00,
	0x5e23, 0x02,
	0x5e26, 0x00,
	0x5e27, 0xff,
	0x5e29, 0x01,
	0x5e2a, 0x00,
	0x5e2c, 0x01,
	0x5e2d, 0x00,
	0x5e2f, 0x01,
	0x5e30, 0x00,
	0x5e32, 0x00,
	0x5e33, 0x80,
	0x5e34, 0x00,
	0x5e35, 0x00,
	0x5e36, 0x80,
	0x5e37, 0x00,
	0x5e38, 0x00,
	0x5e39, 0x80,
	0x5e3a, 0x00,
	0x5e3b, 0x00,
	0x5e3c, 0x80,
	0x5e3d, 0x00,
	0x5e3e, 0x00,
	0x5e3f, 0x80,
	0x5e40, 0x00,
	0x5e41, 0x00,
	0x5e42, 0x80,
	0x5e43, 0x00,
	0x5e44, 0x00,
	0x5e45, 0x80,
	0x5e46, 0x00,
	0x5e47, 0x00,
	0x5e48, 0x80,
	0x5e49, 0x00,
	0x5e4a, 0x00,
	0x5e4b, 0x80,
	0x5e4c, 0x00,
	0x5e4d, 0x00,
	0x5e4e, 0x80,
	0x5e50, 0x00,
	0x5e51, 0x80,
	0x5e53, 0x00,
	0x5e54, 0x80,
	0x5e56, 0x00,
	0x5e57, 0x40,
	0x5e59, 0x00,
	0x5e5a, 0x40,
	0x5e5c, 0x00,
	0x5e5d, 0x40,
	0x5e5f, 0x00,
	0x5e60, 0x40,
	0x5e62, 0x00,
	0x5e63, 0x40,
	0x5e65, 0x00,
	0x5e66, 0x40,
	0x5e68, 0x00,
	0x5e69, 0x40,
	0x5e6b, 0x00,
	0x5e6c, 0x40,
	0x5e6e, 0x00,
	0x5e6f, 0x40,
	0x5e71, 0x00,
	0x5e72, 0x40,
	0x5e74, 0x00,
	0x5e75, 0x40,
	0x5e77, 0x00,
	0x5e78, 0x40,
	0x5e7a, 0x00,
	0x5e7b, 0x40,
	0x5e7d, 0x00,
	0x5e7e, 0x40,
	0x5e80, 0x00,
	0x5e81, 0x40,
	0x5e83, 0x00,
	0x5e84, 0x40,
	0x5f00, 0x02,
	0x5f01, 0x08,
	0x5f02, 0x09,
	0x5f03, 0x0a,
	0x5f04, 0x0b,
	0x5f05, 0x0c,
	0x5f06, 0x0c,
	0x5f07, 0x0c,
	0x5f08, 0x0c,
	0x5f09, 0x0c,
	0x5f0a, 0x0d,
	0x5f0b, 0x0d,
	0x5f0c, 0x0d,
	0x5f0d, 0x0d,
	0x5f0e, 0x0d,
	0x5f0f, 0x0e,
	0x5f10, 0x0e,
	0x5f11, 0x0e,
	0x5f12, 0x0e,
	0x5f13, 0x0f,
	0x5f14, 0x0f,
	0x5f15, 0x10,
	0x5f16, 0x11,
	0x5f17, 0x11,
	0x5f18, 0x12,
	0x5f19, 0x12,
	0x5f1a, 0x13,
	0x5f1b, 0x13,
	0x5f1c, 0x14,
	0x5f1d, 0x14,
	0x5f1e, 0x16,
	0x5f1f, 0x16,
	0x5f20, 0x16,
	0x5f21, 0x08,
	0x5f22, 0x00,
	0x5f23, 0x01,
	0x5f26, 0x02,
	0x5f27, 0x00,
	0x5f29, 0x02,
	0x5f2a, 0x00,
	0x5f2c, 0x02,
	0x5f2d, 0x00,
	0x5f2f, 0x02,
	0x5f30, 0x00,
	0x5f32, 0x02,
	0x5f33, 0x00,
	0x5f34, 0x00,
	0x5f35, 0x02,
	0x5f36, 0x00,
	0x5f37, 0x00,
	0x5f38, 0x02,
	0x5f39, 0x00,
	0x5f3a, 0x00,
	0x5f3b, 0x02,
	0x5f3c, 0x00,
	0x5f3d, 0x00,
	0x5f3e, 0x02,
	0x5f3f, 0x00,
	0x5f40, 0x00,
	0x5f41, 0x02,
	0x5f42, 0x00,
	0x5f43, 0x00,
	0x5f44, 0x02,
	0x5f45, 0x00,
	0x5f46, 0x00,
	0x5f47, 0x04,
	0x5f48, 0x00,
	0x5f49, 0x00,
	0x5f4a, 0x04,
	0x5f4b, 0x00,
	0x5f4c, 0x00,
	0x5f4d, 0x04,
	0x5f4e, 0x00,
	0x5f50, 0x04,
	0x5f51, 0x00,
	0x5f53, 0x04,
	0x5f54, 0x00,
	0x5f56, 0x04,
	0x5f57, 0x00,
	0x5f59, 0x04,
	0x5f5a, 0x00,
	0x5f5c, 0x04,
	0x5f5d, 0x00,
	0x5f5f, 0x08,
	0x5f60, 0x00,
	0x5f62, 0x08,
	0x5f63, 0x00,
	0x5f65, 0x08,
	0x5f66, 0x00,
	0x5f68, 0x08,
	0x5f69, 0x00,
	0x5f6b, 0x08,
	0x5f6c, 0x00,
	0x5f6e, 0x10,
	0x5f6f, 0x00,
	0x5f71, 0x10,
	0x5f72, 0x00,
	0x5f74, 0x10,
	0x5f75, 0x00,
	0x5f77, 0x10,
	0x5f78, 0x00,
	0x5f7a, 0x20,
	0x5f7b, 0x00,
	0x5f7d, 0x20,
	0x5f7e, 0x00,
	0x5f80, 0x20,
	0x5f81, 0x00,
	0x5f83, 0x00,
	0x5f84, 0xff,
	0x5240, 0x0f,
	0x5241, 0x00,
	0x5242, 0x00,
	0x5243, 0x00,
	0x5244, 0x00,
	0x5245, 0x00,
	0x5246, 0x00,
	0x5247, 0x00,
	0x5248, 0x00,
	0x5249, 0x00,
	0x5440, 0x0f,
	0x5441, 0x00,
	0x5442, 0x00,
	0x5443, 0x00,
	0x5444, 0x00,
	0x5445, 0x00,
	0x5446, 0x00,
	0x5447, 0x00,
	0x5448, 0x00,
	0x5449, 0x00,
	0x5640, 0x0f,
	0x5641, 0x00,
	0x5642, 0x00,
	0x5643, 0x00,
	0x5644, 0x00,
	0x5645, 0x00,
	0x5646, 0x00,
	0x5647, 0x00,
	0x5648, 0x00,
	0x5649, 0x00,
	0x5840, 0x0f,
	0x5841, 0x00,
	0x5842, 0x00,
	0x5843, 0x00,
	0x5844, 0x00,
	0x5845, 0x00,
	0x5846, 0x00,
	0x5847, 0x00,
	0x5848, 0x00,
	0x5849, 0x00,
	0x5dc0, 0x04,
	0x5dc1, 0x04,
	0x5dc2, 0x04,
	0x5dc3, 0x04,
	0x5de0, 0x04,
	0x5de1, 0x04,
	0x5de2, 0x04,
	0x5de3, 0x04,
	0x5000, 0x87,
	0x5001, 0x75,
	0x5002, 0x7f,
	0x5003, 0x3a,
	0x5004, 0x1e,
	0x5005, 0x1e,
	0x5006, 0x1e,
	0x5007, 0x1e,
	0x5008, 0x00,
	0x500a, 0x3f,
	0x500c, 0x00,
	0x502a, 0x10,
	0x502c, 0x00,
	0x504b, 0x00,
	0x5053, 0x00,
	0x505b, 0x00,
	0x5063, 0x00,
	0x5070, 0x00,
	0x5074, 0x04,
	0x4000, 0x78,
	0x4001, 0x2b,
	0x4008, 0x01,
	0x400b, 0x02,
	0x400e, 0x02,
	0x400f, 0x80,
	0x4012, 0x30,
	0x4013, 0x01,
	0x4018, 0x12,
	0x401e, 0x00,
	0x401f, 0x02,
	0x4021, 0x05,
	0x4022, 0x40,
	0x4023, 0x20,
	0x4026, 0x00,
	0x4027, 0x40,
	0x4028, 0x00,
	0x4029, 0x40,
	0x402a, 0x00,
	0x402b, 0x40,
	0x402c, 0x00,
	0x402d, 0x40,
	0x407e, 0xcc,
	0x407f, 0x18,
	0x4082, 0x01,
	0x4083, 0x18,
	0x4084, 0x01,
	0x4085, 0x18,
	0x4086, 0x00,
	0x4087, 0xa0,
	0x4640, 0x41,  // 40 uid_mirror
	0x4641, 0x11,
	0x4642, 0x0e,
	0x4643, 0xee,
	0x4646, 0x0f,
	0x4648, 0x00,
	0x4649, 0x03,
	0x5d09, 0x6b,
	0x5d0b, 0x6b,
	0x5d19, 0x6b,
	0x5d40, 0x02,
	0x5d42, 0x02,
	0x5d43, 0x85,
	0x5d44, 0x1b,
	0x5d45, 0xdd,
	0x5d46, 0x02,
	0x5d47, 0x85,
	0x5d48, 0x1b,
	0x5d49, 0xdd,
	0x5d4a, 0x02,
	0x5d4b, 0x40,
	0x5d4c, 0x02,
	0x5d4d, 0x40,
	0x5d4e, 0x02,
	0x5d4f, 0x40,
	0x5d50, 0x18,
	0x5d51, 0x80,
	0x5d52, 0x18,
	0x5d53, 0x80,
	0x5d54, 0x18,
	0x5d55, 0x80,
	0x5d57, 0x10,
	0x5d59, 0x20,
	0x5d5c, 0x02,
	0x5d5d, 0x40,
	0x5d5e, 0x02,
	0x5d5f, 0x40,
	0x5d60, 0x03,
	0x5d61, 0x40,
	0x5d62, 0x07,
	0x5d63, 0x28,
	0x5d65, 0xff,
	0x6102, 0x1f,
	0x610a, 0x0f,
	0x610b, 0x20,
	0x610c, 0x08,
	0x610d, 0x80,
	0x6144, 0x75,
	0x6145, 0x75,
	0x6146, 0x75,
	0x6147, 0x75,
	0x6148, 0x75,
	0x6149, 0x75,
	0x614a, 0x75,
	0x614b, 0x75,
	0x614c, 0x75,
	0x614d, 0x75,
	0x614e, 0x75,
	0x614f, 0x75,
	0x6150, 0x75,
	0x6151, 0x75,
	0x6152, 0x75,
	0x6153, 0x75,
	0x6154, 0x75,
	0x6155, 0x75,
	0x6156, 0x75,
	0x6157, 0x75,
	0x6158, 0x75,
	0x6159, 0x75,
	0x615a, 0x75,
	0x615b, 0x75,
	0x615c, 0x75,
	0x615d, 0x75,
	0x615e, 0x75,
	0x615f, 0x75,
	0x6160, 0x75,
	0x6161, 0x75,
	0x6162, 0x75,
	0x6163, 0x75,
	0x6164, 0x75,
	0x6165, 0x75,
	0x6166, 0x75,
	0x6167, 0x75,
	0x6168, 0x75,
	0x6169, 0x75,
	0x616a, 0x75,
	0x616b, 0x75,
	0x616c, 0x75,
	0x616d, 0x75,
	0x616e, 0x75,
	0x616f, 0x75,
	0x6170, 0x75,
	0x6171, 0x75,
	0x6172, 0x75,
	0x6173, 0x75,
	0x6174, 0x75,
	0x6175, 0x75,
	0x6176, 0x75,
	0x6177, 0x75,
	0x6178, 0x75,
	0x6179, 0x75,
	0x617a, 0x75,
	0x617b, 0x75,
	0x617c, 0x75,
	0x617d, 0x75,
	0x617e, 0x75,
	0x617f, 0x75,
	0x6180, 0x75,
	0x6181, 0x75,
	0x6182, 0x75,
	0x6183, 0x75,
	0x6184, 0x75,
	0x6185, 0x75,
	0x6186, 0x75,
	0x6187, 0x75,
	0x6188, 0x75,
	0x6189, 0x75,
	0x618a, 0x75,
	0x618b, 0x75,
	0x618c, 0x75,
	0x618d, 0x75,
	0x618e, 0x75,
	0x618f, 0x75,
	0x6190, 0x75,
	0x6191, 0x75,
	0x6192, 0x75,
	0x6193, 0x75,
	0x6194, 0x75,
	0x6195, 0x75,
	0x6196, 0x75,
	0x6197, 0x75,
	0x6198, 0x75,
	0x6199, 0x75,
	0x619a, 0x75,
	0x619b, 0x75,
	0x619c, 0x75,
	0x619d, 0x75,
	0x619e, 0x75,
	0x619f, 0x75,
	0x61a0, 0x75,
	0x61a1, 0x75,
	0x61a2, 0x75,
	0x61a3, 0x75,
	0x61a4, 0x75,
	0x61a5, 0x75,
	0x61a6, 0x75,
	0x61a7, 0x75,
	0x61a8, 0x75,
	0x61a9, 0x75,
	0x61aa, 0x75,
	0x61ab, 0x75,
	0x61ac, 0x75,
	0x61ad, 0x75,
	0x61ae, 0x75,
	0x61af, 0x75,
	0x6120, 0x75,
	0x6121, 0x75,
	0x6122, 0x75,
	0x6123, 0x75,
	0x6124, 0x75,
	0x6125, 0x75,
	0x6126, 0x75,
	0x6127, 0x75,
	0x6128, 0x75,
	0x6129, 0x75,
	0x612a, 0x75,
	0x612b, 0x75,
	0x612c, 0x75,
	0x612d, 0x75,
	0x612e, 0x75,
	0x612f, 0x75,
	0x6130, 0x75,
	0x6131, 0x75,
	0x6132, 0x75,
	0x6133, 0x75,
	0x6134, 0x75,
	0x6135, 0x75,
	0x6136, 0x75,
	0x6137, 0x75,
	0x6138, 0x75,
	0x6139, 0x75,
	0x613a, 0x75,
	0x613b, 0x75,
	0x613c, 0x75,
	0x613d, 0x75,
	0x613e, 0x75,
	0x613f, 0x75,
	0x6140, 0x75,
	0x6141, 0x75,
	0x6142, 0x75,
	0x6143, 0x75,
	0x4f04, 0x78,
	0x380e, 0x05,
	0x380f, 0x4c,
	0x380c, 0x03,
	0x380d, 0xf5,
	0x384c, 0x01,
	0x384d, 0xec,
	0x388c, 0x01,
	0x388d, 0xe7,
	0x420e, 0x23,  // read from 421a DTR CRC
	0x420f, 0x72,  // read from 420b
	0x4210, 0x4d,  // read from 421c
	0x4211, 0x70,  // read from 421d
	0x507a, 0x1f,  // read from 50ce STAT CRC
	0x507b, 0x32,  // read from 50eb
	0x0408, 0xe7,
	0x0409, 0xff,
	0x040a, 0x2b,
	0x040b, 0x32,
	0x040c, 0x50,
	0x040d, 0xb3,
	0x040e, 0x0c,
	0x5004, 0x1e,
	0x0307, 0x01,
	0x4837, 0x0e,
	0x4221, 0x07,
	0x3506, 0x40,
	0x3546, 0x10,
	0x35c6, 0x90,
	0x4f03, 0x2c,
	0x3da7, 0x50,  //  close address2 crc
};

uint32_t ovx8b_hdr_4exp_30fps_dual_roi_init_setting[] = {
	/* Binning 1920 * 1080 + Roi 1920 * 1080 */
	0x3208, 0x04,
	0x4620, 0x04,
	0x3208, 0x14,
	0x3208, 0x05,
	0x4620, 0x04,
	0x3208, 0x15,
	0x3208, 0x02,
	0x3507, 0x00,
	0x3208, 0x12,
	0x3208, 0xa2,
	0x0305, 0x5c,
	0x0307, 0x01,
	0x0316, 0x00,
	0x0317, 0x00,
	0x0318, 0x00,
	0x0320, 0x02,
	0x0321, 0x33,
	0x0325, 0x95,
	0x0408, 0xe7,
	0x0409, 0xff,
	0x040a, 0x2b,
	0x040b, 0x32,
	0x040c, 0x50,
	0x040d, 0xb3,
	0x040e, 0x0c,
	0x3002, 0xf8,
	0x3012, 0x41,
	0x2803, 0xfe,
	0x280b, 0x00,
	0x280c, 0x79,
	0x3700, 0x19,
	0x3703, 0x43,
	0x3705, 0x00,
	0x3706, 0x37,
	0x3708, 0x32,
	0x3709, 0x5e,
	0x370a, 0x00,
	0x370b, 0x83,
	0x370e, 0x51,
	0x3712, 0x13,
	0x3717, 0x07,
	0x3718, 0x72,
	0x3719, 0x31,
	0x372b, 0x01,
	0x372c, 0xb0,
	0x372d, 0x1e,
	0x3730, 0x05,
	0x3731, 0x43,
	0x3733, 0x01,
	0x3738, 0x27,
	0x3739, 0x27,
	0x373a, 0x22,
	0x373b, 0x1a,
	0x373f, 0x21,
	0x3740, 0x21,
	0x3741, 0x1b,
	0x3742, 0x16,
	0x3745, 0x01,
	0x3747, 0x19,
	0x3748, 0x19,
	0x3750, 0x32,
	0x3755, 0x14,
	0x3756, 0x04,
	0x3757, 0x16,
	0x3759, 0x33,
	0x375a, 0x00,
	0x375b, 0x6d,
	0x376c, 0x27,
	0x3778, 0x20,
	0x377c, 0x88,
	0x3797, 0x00,
	0x3798, 0x00,
	0x3799, 0x00,
	0x379c, 0x58,
	0x379e, 0x00,
	0x379f, 0x00,
	0x37a0, 0x00,
	0x37a1, 0x00,
	0x37bc, 0x22,
	0x37c0, 0x01,
	0x37c4, 0x34,
	0x37c5, 0x2f,
	0x37c6, 0x2a,
	0x37c7, 0x1e,
	0x37c8, 0x02,
	0x37c9, 0x09,
	0x37d0, 0x00,
	0x37d1, 0x32,
	0x37d2, 0x00,
	0x37d3, 0x6c,
	0x37d5, 0x32,
	0x37d6, 0x00,
	0x37d7, 0x66,
	0x37dc, 0x5a,
	0x37dd, 0x57,
	0x3c03, 0x01,
	0x3c04, 0x01,
	0x3c06, 0x21,
	0x3c08, 0x01,
	0x3c09, 0x01,
	0x3c0a, 0x01,
	0x3c0b, 0x21,
	0x3c12, 0x40,
	0x3c13, 0x21,
	0x3c14, 0x03,
	0x3c21, 0x00,
	0x3c22, 0xb3,
	0x3c2a, 0x11,
	0x3c39, 0x11,
	0x3c3a, 0x01,
	0x3c3c, 0x00,
	0x3c3d, 0x01,
	0x3c3e, 0x06,
	0x3c4e, 0x0f,
	0x3c55, 0x00,
	0x3c57, 0x23,
	0x3c58, 0x27,
	0x3c5a, 0x11,
	0x3c5f, 0x08,
	0x3c61, 0x80,
	0x3c70, 0x62,
	0x3c74, 0x43,
	0x3c78, 0x77,
	0x3cc0, 0x00,
	0x3cc1, 0x00,
	0x3cc2, 0x00,
	0x3cc3, 0x00,
	0x3cc8, 0x00,
	0x3cc9, 0x00,
	0x3cca, 0x00,
	0x3ccb, 0x00,
	0x3ce0, 0x00,
	0x3ce1, 0x01,
	0x3ce2, 0x01,
	0x3ce3, 0xd5,
	0x3ce8, 0x00,
	0x3ce9, 0x01,
	0x3cea, 0x00,
	0x3ceb, 0x58,
	0x320e, 0x00,
	0x320f, 0x00,
	0x3211, 0x61,
	0x3215, 0xcd,
	0x3219, 0x08,
	0x3400, 0x08,
	0x3408, 0x01,
	0x3506, 0x30,
	0x3586, 0x50,
	0x3588, 0x01,
	0x3589, 0x50,
	0x358b, 0x04,
	0x3541, 0x00,
	0x3542, 0x04,
	0x3546, 0x10,
	0x3548, 0x01,
	0x3549, 0x00,
	0x35c2, 0x02,
	0x35c6, 0x90,
	0x35c8, 0x01,
	0x35c9, 0x50,
	0x35cb, 0x04,
	0x3600, 0x8f,
	0x3603, 0x40,
	0x3606, 0x00,
	0x3607, 0x02,
	0x3609, 0xe0,
	0x360a, 0x01,
	0x360e, 0x1d,
	0x3611, 0x47,
	0x3616, 0x8a,
	0x361b, 0x5c,
	0x361e, 0xdc,
	0x361f, 0xca,
	0x3657, 0x0a,
	0x3659, 0x0a,
	0x365a, 0x0f,
	0x3674, 0x08,
	0x3677, 0x47,
	0x3678, 0x47,
	0x3802, 0x00,
	0x3803, 0x00,
	0x3806, 0x08,
	0x3807, 0x7f,
	0x3808, 0x07,
	0x3809, 0x80,
	0x380a, 0x04,
	0x380b, 0x38,
	0x380c, 0x03,
	0x380d, 0xf5,
	0x380e, 0x05,
	0x380f, 0x4b,
	0x3810, 0x03,
	0x3811, 0xc0,
	0x3812, 0x02,
	0x3813, 0x10,
	0x3816, 0x01,
	0x3817, 0x01,
	0x381c, 0x18,
	0x381e, 0x01,
	0x381f, 0x01,
	0x3820, 0x00,
	0x3821, 0x19,
	0x3832, 0x00,
	0x3834, 0x00,
	0x384c, 0x01,
	0x384d, 0xec,
	0x3850, 0x00,
	0x3851, 0x42,
	0x3852, 0x00,
	0x3853, 0x40,
	0x3858, 0x04,
	0x388c, 0x01,
	0x388d, 0xe7,
	0x3b40, 0x05,
	0x3b41, 0x40,
	0x3b42, 0x00,
	0x3b43, 0x90,
	0x3b44, 0x00,
	0x3b45, 0x20,
	0x3b46, 0x00,
	0x3b47, 0x20,
	0x3b48, 0x1a,
	0x3b49, 0x13,
	0x3b4a, 0x17,
	0x3b4b, 0x2f,
	0x3b4c, 0x00,
	0x3b4d, 0x10,
	0x3b8a, 0x08,
	0x3b8b, 0x70,
	0x3b8c, 0x0f,
	0x3b8d, 0x00,
	0x3b92, 0x08,
	0x3b93, 0x70,
	0x3b94, 0x0f,
	0x3b95, 0x00,
	0x3b9e, 0x09,
	0x3d8a, 0x03,
	0x3d8b, 0xff,
	0x3da4, 0x00,
	0x3da7, 0x50,
	0x420e, 0x44,
	0x420f, 0x41,
	0x4210, 0x57,
	0x4211, 0x78,
	0x421e, 0x02,
	0x421f, 0x55,
	0x4220, 0x21,
	0x4221, 0x07,
	0x4301, 0xff,
	0x4307, 0x03,
	0x4308, 0x13,
	0x4309, 0x00,
	0x430a, 0x53,
	0x430d, 0x13,
	0x430f, 0x17,
	0x4310, 0x95,
	0x4311, 0x16,
	0x4316, 0x00,
	0x4317, 0x28,
	0x4319, 0x07,
	0x431a, 0x00,
	0x431b, 0x44,
	0x431c, 0x27,
	0x431d, 0x27,
	0x431e, 0x11,
	0x431f, 0x24,
	0x4320, 0x7b,
	0x4323, 0x80,
	0x4324, 0x00,
	0x4503, 0x4e,
	0x4505, 0x00,
	0x4508, 0x10,
	0x4509, 0x00,
	0x450a, 0x00,
	0x4583, 0x07,
	0x4584, 0x6a,
	0x4585, 0x08,
	0x4586, 0x05,
	0x4587, 0x04,
	0x4588, 0x73,
	0x4589, 0x05,
	0x458a, 0x1f,
	0x458b, 0x02,
	0x458c, 0xdc,
	0x458d, 0x03,
	0x458e, 0x02,
	0x4597, 0x07,
	0x4598, 0x40,
	0x4599, 0x0c,
	0x459a, 0x0c,
	0x459b, 0xfa,
	0x459c, 0xf8,
	0x4602, 0x00,
	0x4603, 0x11,
	0x4604, 0x00,
	0x4606, 0x06,
	0x4607, 0x06,
	0x460a, 0x30,
	0x4610, 0x00,
	0x4611, 0x64,
	0x4612, 0x01,
	0x4613, 0x00,
	0x4614, 0x00,
	0x4615, 0x64,
	0x4616, 0x01,
	0x4617, 0x00,
	0x4700, 0xe0,
	0x4702, 0x00,
	0x4800, 0x04,
	0x4808, 0x07,
	0x480a, 0x22,
	0x4813, 0xc9,
	0x4814, 0x2a,
	0x4837, 0x0e,
	0x484b, 0x47,
	0x484f, 0x40,
	0x4850, 0x47,
	0x4853, 0x04,
	0x4855, 0x09,
	0x4d30, 0x0a,
	0x4d31, 0x00,
	0x4d5a, 0x1a,
	0x4f00, 0x3f,
	0x4f01, 0xff,
	0x4f02, 0xff,
	0x4f03, 0x2d,
	0x6a00, 0x00,
	0x6a01, 0x20,
	0x6a02, 0x00,
	0x6a03, 0x20,
	0x6a04, 0x02,
	0x6a05, 0x80,
	0x6a06, 0x01,
	0x6a07, 0xe0,
	0x6a08, 0xcf,
	0x6a09, 0x01,
	0x6a0a, 0x40,
	0x6a20, 0x00,
	0x6a21, 0x04,
	0x6a22, 0x00,
	0x6a23, 0x04,
	0x6a24, 0x07,
	0x6a25, 0x80,
	0x6a26, 0x04,
	0x6a27, 0x38,
	0x6a28, 0x02,
	0x5aef, 0xd9,
	0x5af1, 0xf0,
	0x5af3, 0x03,
	0x5b79, 0xd9,
	0x5b7b, 0xf0,
	0x5b7d, 0x03,
	0x5b7e, 0x01,
	0x5200, 0x04,
	0x5201, 0x04,
	0x5202, 0x04,
	0x5203, 0x04,
	0x5400, 0x04,
	0x5401, 0x04,
	0x5402, 0x04,
	0x5403, 0x04,
	0x5600, 0x04,
	0x5601, 0x04,
	0x5602, 0x04,
	0x5603, 0x04,
	0x5800, 0x04,
	0x5801, 0x04,
	0x5802, 0x04,
	0x5803, 0x04,
	0x5b80, 0xc8,
	0x5b84, 0x02,
	0x5b85, 0xcc,
	0x5b8e, 0x40,
	0x5b8f, 0x80,
	0x5b92, 0x60,
	0x5b93, 0x10,
	0x5b94, 0x80,
	0x5b95, 0x80,
	0x5b96, 0x80,
	0x5b97, 0x20,
	0x5b98, 0x00,
	0x5b99, 0x80,
	0x5b9a, 0x40,
	0x5b9b, 0x20,
	0x5b9c, 0x00,
	0x5b9d, 0x00,
	0x5b9e, 0x80,
	0x5b9f, 0x00,
	0x5ba0, 0x00,
	0x5ba1, 0x00,
	0x5ba2, 0x00,
	0x5ba3, 0x00,
	0x5ba4, 0x00,
	0x5ba5, 0x00,
	0x5ba8, 0x02,
	0x5ba9, 0x00,
	0x5baa, 0x02,
	0x5bab, 0x76,
	0x5bac, 0x03,
	0x5bad, 0x08,
	0x5bae, 0x00,
	0x5baf, 0x80,
	0x5bb0, 0x01,
	0x5bb1, 0x00,
	0x5bb2, 0x02,
	0x5bb3, 0x00,
	0x5bb4, 0x05,
	0x5bb5, 0xc6,
	0x5bb8, 0x01,
	0x5bb9, 0x01,
	0x5bba, 0x01,
	0x5bbe, 0x0a,
	0x5bc0, 0x04,
	0x5bc1, 0x06,
	0x5bc4, 0x04,
	0x5bc5, 0x02,
	0x5bc7, 0x00,
	0x5bc8, 0x80,
	0x5bd2, 0x20,
	0x5bd4, 0x40,
	0x5bd5, 0x20,
	0x5bd6, 0x00,
	0x5bd7, 0x00,
	0x5bd8, 0x00,
	0x5bd9, 0x00,
	0x5bda, 0x00,
	0x5bdb, 0x00,
	0x5bdc, 0x00,
	0x5bdd, 0x00,
	0x5bde, 0x00,
	0x5bdf, 0x00,
	0x5be0, 0x00,
	0x5be7, 0x86,
	0x5c00, 0xc8,
	0x5c04, 0x02,
	0x5c05, 0xcc,
	0x5c0e, 0x40,
	0x5c0f, 0x80,
	0x5c12, 0x60,
	0x5c13, 0x10,
	0x5c14, 0x80,
	0x5c15, 0x80,
	0x5c16, 0x80,
	0x5c17, 0x20,
	0x5c18, 0x00,
	0x5c19, 0x80,
	0x5c1a, 0x40,
	0x5c1b, 0x20,
	0x5c1c, 0x00,
	0x5c1d, 0x00,
	0x5c1e, 0x80,
	0x5c1f, 0x00,
	0x5c22, 0x00,
	0x5c23, 0x00,
	0x5c24, 0x00,
	0x5c28, 0x02,
	0x5c29, 0x00,
	0x5c2a, 0x02,
	0x5c2b, 0x76,
	0x5c2c, 0x03,
	0x5c2d, 0x08,
	0x5c2e, 0x00,
	0x5c2f, 0x40,
	0x5c30, 0x01,
	0x5c31, 0x00,
	0x5c32, 0x02,
	0x5c33, 0x00,
	0x5c34, 0x05,
	0x5c35, 0x33,
	0x5c38, 0x01,
	0x5c39, 0x01,
	0x5c3a, 0x01,
	0x5c3e, 0x0a,
	0x5c40, 0x04,
	0x5c44, 0x04,
	0x5c47, 0x00,
	0x5c48, 0x80,
	0x5c4d, 0x40,
	0x5c51, 0x60,
	0x5c52, 0x20,
	0x5c54, 0x80,
	0x5c55, 0x80,
	0x5c56, 0x20,
	0x5c57, 0x00,
	0x5c59, 0x40,
	0x5c5a, 0x20,
	0x5c5b, 0x00,
	0x5c5c, 0x00,
	0x5c5d, 0x80,
	0x5c5e, 0x00,
	0x5c5f, 0x00,
	0x5c60, 0x00,
	0x5c67, 0x86,
	0x5c80, 0xc0,
	0x5c84, 0x02,
	0x5c85, 0xcc,
	0x5c8e, 0x80,
	0x5c8f, 0x80,
	0x5c92, 0x80,
	0x5c93, 0x60,
	0x5c94, 0x80,
	0x5c95, 0x80,
	0x5c96, 0x80,
	0x5c97, 0x60,
	0x5c98, 0x40,
	0x5c99, 0x80,
	0x5c9a, 0x80,
	0x5c9b, 0x80,
	0x5c9c, 0x40,
	0x5c9d, 0x00,
	0x5c9e, 0x80,
	0x5c9f, 0x80,
	0x5ca0, 0x80,
	0x5ca1, 0x20,
	0x5ca2, 0x00,
	0x5ca3, 0x80,
	0x5ca4, 0x80,
	0x5ca5, 0x80,
	0x5ca8, 0x01,
	0x5ca9, 0x00,
	0x5caa, 0x02,
	0x5cab, 0x00,
	0x5cac, 0x03,
	0x5cad, 0x08,
	0x5cae, 0x01,
	0x5caf, 0x00,
	0x5cb0, 0x02,
	0x5cb1, 0x00,
	0x5cb2, 0x03,
	0x5cb3, 0x08,
	0x5cb4, 0x05,
	0x5cb5, 0x33,
	0x5cb8, 0x01,
	0x5cb9, 0x01,
	0x5cba, 0x01,
	0x5cbe, 0x0a,
	0x5cc6, 0x00,
	0x5cc7, 0x00,
	0x5cc8, 0x80,
	0x5cd2, 0x60,
	0x5cd5, 0x80,
	0x5cd6, 0x60,
	0x5cd9, 0x80,
	0x5cda, 0x80,
	0x5cdb, 0x40,
	0x5cdd, 0x80,
	0x5cde, 0x80,
	0x5cdf, 0x80,
	0x5ce2, 0x80,
	0x5ce3, 0x80,
	0x5ce4, 0x80,
	0x5ce7, 0x86,
	0x6006, 0x00,
	0x6007, 0x04,
	0x6008, 0x08,
	0x6009, 0x72,
	0x600a, 0x00,
	0x600b, 0x08,
	0x600c, 0x0f,
	0x600d, 0x08,
	0x6016, 0x00,
	0x6026, 0x00,
	0x6027, 0x04,
	0x6028, 0x08,
	0x6029, 0x72,
	0x602a, 0x00,
	0x602b, 0x08,
	0x602c, 0x0f,
	0x602d, 0x08,
	0x6046, 0x00,
	0x6047, 0x04,
	0x6048, 0x08,
	0x6049, 0x72,
	0x604a, 0x00,
	0x604b, 0x08,
	0x604c, 0x0f,
	0x604d, 0x08,
	0x6066, 0x00,
	0x6067, 0x04,
	0x6068, 0x08,
	0x6069, 0x72,
	0x606a, 0x00,
	0x606b, 0x08,
	0x606c, 0x0f,
	0x606d, 0x08,
	0x6086, 0x00,
	0x6087, 0x04,
	0x6088, 0x08,
	0x6089, 0x72,
	0x608a, 0x00,
	0x608b, 0x08,
	0x608c, 0x0f,
	0x608d, 0x08,
	0x52c3, 0x00,
	0x52c4, 0x00,
	0x52c6, 0x01,
	0x52c7, 0x23,
	0x52c9, 0x02,
	0x52ca, 0x01,
	0x52cb, 0x01,
	0x52cd, 0x02,
	0x52ce, 0x01,
	0x52cf, 0x01,
	0x54c3, 0x00,
	0x54c4, 0x00,
	0x54c6, 0x01,
	0x54c7, 0x23,
	0x54c8, 0x01,
	0x54c9, 0x01,
	0x54ca, 0x01,
	0x54cb, 0x01,
	0x54cc, 0x01,
	0x54cd, 0x01,
	0x54ce, 0x01,
	0x54cf, 0x01,
	0x56c3, 0x00,
	0x56c4, 0x00,
	0x56c6, 0x01,
	0x56c7, 0x23,
	0x56c8, 0x01,
	0x56c9, 0x01,
	0x56ca, 0x01,
	0x56cb, 0x01,
	0x56cc, 0x01,
	0x56cd, 0x01,
	0x56ce, 0x01,
	0x56cf, 0x01,
	0x58c3, 0x00,
	0x58c4, 0x00,
	0x58c6, 0x01,
	0x58c7, 0x23,
	0x58c8, 0x01,
	0x58c9, 0x01,
	0x58ca, 0x01,
	0x58cb, 0x01,
	0x58cc, 0x01,
	0x58cd, 0x01,
	0x58ce, 0x01,
	0x58cf, 0x01,
	0x5e00, 0x00,
	0x5e01, 0x09,
	0x5e02, 0x09,
	0x5e03, 0x0a,
	0x5e04, 0x0a,
	0x5e05, 0x0a,
	0x5e06, 0x0b,
	0x5e07, 0x0b,
	0x5e08, 0x0c,
	0x5e09, 0x0c,
	0x5e0a, 0x0d,
	0x5e0b, 0x0d,
	0x5e0c, 0x0e,
	0x5e0d, 0x0e,
	0x5e0e, 0x0f,
	0x5e0f, 0x0f,
	0x5e10, 0x10,
	0x5e11, 0x10,
	0x5e12, 0x11,
	0x5e13, 0x11,
	0x5e14, 0x12,
	0x5e15, 0x12,
	0x5e16, 0x12,
	0x5e17, 0x12,
	0x5e18, 0x13,
	0x5e19, 0x13,
	0x5e1a, 0x13,
	0x5e1b, 0x14,
	0x5e1c, 0x14,
	0x5e1d, 0x14,
	0x5e1e, 0x15,
	0x5e1f, 0x15,
	0x5e20, 0x15,
	0x5e21, 0x16,
	0x5e22, 0x00,
	0x5e23, 0x02,
	0x5e26, 0x00,
	0x5e27, 0xff,
	0x5e29, 0x01,
	0x5e2a, 0x00,
	0x5e2c, 0x01,
	0x5e2d, 0x00,
	0x5e2f, 0x01,
	0x5e30, 0x00,
	0x5e32, 0x00,
	0x5e33, 0x80,
	0x5e34, 0x00,
	0x5e35, 0x00,
	0x5e36, 0x80,
	0x5e37, 0x00,
	0x5e38, 0x00,
	0x5e39, 0x80,
	0x5e3a, 0x00,
	0x5e3b, 0x00,
	0x5e3c, 0x80,
	0x5e3d, 0x00,
	0x5e3e, 0x00,
	0x5e3f, 0x80,
	0x5e40, 0x00,
	0x5e41, 0x00,
	0x5e42, 0x80,
	0x5e43, 0x00,
	0x5e44, 0x00,
	0x5e45, 0x80,
	0x5e46, 0x00,
	0x5e47, 0x00,
	0x5e48, 0x80,
	0x5e49, 0x00,
	0x5e4a, 0x00,
	0x5e4b, 0x80,
	0x5e4c, 0x00,
	0x5e4d, 0x00,
	0x5e4e, 0x80,
	0x5e50, 0x00,
	0x5e51, 0x80,
	0x5e53, 0x00,
	0x5e54, 0x80,
	0x5e56, 0x00,
	0x5e57, 0x40,
	0x5e59, 0x00,
	0x5e5a, 0x40,
	0x5e5c, 0x00,
	0x5e5d, 0x40,
	0x5e5f, 0x00,
	0x5e60, 0x40,
	0x5e62, 0x00,
	0x5e63, 0x40,
	0x5e65, 0x00,
	0x5e66, 0x40,
	0x5e68, 0x00,
	0x5e69, 0x40,
	0x5e6b, 0x00,
	0x5e6c, 0x40,
	0x5e6e, 0x00,
	0x5e6f, 0x40,
	0x5e71, 0x00,
	0x5e72, 0x40,
	0x5e74, 0x00,
	0x5e75, 0x40,
	0x5e77, 0x00,
	0x5e78, 0x40,
	0x5e7a, 0x00,
	0x5e7b, 0x40,
	0x5e7d, 0x00,
	0x5e7e, 0x40,
	0x5e80, 0x00,
	0x5e81, 0x40,
	0x5e83, 0x00,
	0x5e84, 0x40,
	0x5f00, 0x00,
	0x5f01, 0x09,
	0x5f02, 0x09,
	0x5f03, 0x0a,
	0x5f04, 0x0a,
	0x5f05, 0x0a,
	0x5f06, 0x0b,
	0x5f07, 0x0b,
	0x5f08, 0x0c,
	0x5f09, 0x0c,
	0x5f0a, 0x0d,
	0x5f0b, 0x0d,
	0x5f0c, 0x0e,
	0x5f0d, 0x0e,
	0x5f0e, 0x0f,
	0x5f0f, 0x0f,
	0x5f10, 0x10,
	0x5f11, 0x10,
	0x5f12, 0x11,
	0x5f13, 0x11,
	0x5f14, 0x12,
	0x5f15, 0x12,
	0x5f16, 0x12,
	0x5f17, 0x12,
	0x5f18, 0x13,
	0x5f19, 0x13,
	0x5f1a, 0x13,
	0x5f1b, 0x14,
	0x5f1c, 0x14,
	0x5f1d, 0x14,
	0x5f1e, 0x15,
	0x5f1f, 0x15,
	0x5f20, 0x15,
	0x5f21, 0x16,
	0x5f22, 0x00,
	0x5f23, 0x02,
	0x5f26, 0x00,
	0x5f27, 0xff,
	0x5f29, 0x01,
	0x5f2a, 0x00,
	0x5f2c, 0x01,
	0x5f2d, 0x00,
	0x5f2f, 0x01,
	0x5f30, 0x00,
	0x5f32, 0x00,
	0x5f33, 0x80,
	0x5f34, 0x00,
	0x5f35, 0x00,
	0x5f36, 0x80,
	0x5f37, 0x00,
	0x5f38, 0x00,
	0x5f39, 0x80,
	0x5f3a, 0x00,
	0x5f3b, 0x00,
	0x5f3c, 0x80,
	0x5f3d, 0x00,
	0x5f3e, 0x00,
	0x5f3f, 0x80,
	0x5f40, 0x00,
	0x5f41, 0x00,
	0x5f42, 0x80,
	0x5f43, 0x00,
	0x5f44, 0x00,
	0x5f45, 0x80,
	0x5f46, 0x00,
	0x5f47, 0x00,
	0x5f48, 0x80,
	0x5f49, 0x00,
	0x5f4a, 0x00,
	0x5f4b, 0x80,
	0x5f4c, 0x00,
	0x5f4d, 0x00,
	0x5f4e, 0x80,
	0x5f50, 0x00,
	0x5f51, 0x80,
	0x5f53, 0x00,
	0x5f54, 0x80,
	0x5f56, 0x00,
	0x5f57, 0x40,
	0x5f59, 0x00,
	0x5f5a, 0x40,
	0x5f5c, 0x00,
	0x5f5d, 0x40,
	0x5f5f, 0x00,
	0x5f60, 0x40,
	0x5f62, 0x00,
	0x5f63, 0x40,
	0x5f65, 0x00,
	0x5f66, 0x40,
	0x5f68, 0x00,
	0x5f69, 0x40,
	0x5f6b, 0x00,
	0x5f6c, 0x40,
	0x5f6e, 0x00,
	0x5f6f, 0x40,
	0x5f71, 0x00,
	0x5f72, 0x40,
	0x5f74, 0x00,
	0x5f75, 0x40,
	0x5f77, 0x00,
	0x5f78, 0x40,
	0x5f7a, 0x00,
	0x5f7b, 0x40,
	0x5f7d, 0x00,
	0x5f7e, 0x40,
	0x5f80, 0x00,
	0x5f81, 0x40,
	0x5f83, 0x00,
	0x5f84, 0x40,
	0x5240, 0x0f,
	0x5241, 0x00,
	0x5242, 0x00,
	0x5243, 0x00,
	0x5244, 0x00,
	0x5245, 0x00,
	0x5246, 0x00,
	0x5247, 0x00,
	0x5248, 0x00,
	0x5249, 0x00,
	0x5440, 0x0f,
	0x5441, 0x00,
	0x5442, 0x00,
	0x5443, 0x00,
	0x5444, 0x00,
	0x5445, 0x00,
	0x5446, 0x00,
	0x5447, 0x00,
	0x5448, 0x00,
	0x5449, 0x00,
	0x5640, 0x0f,
	0x5641, 0x00,
	0x5642, 0x00,
	0x5643, 0x00,
	0x5644, 0x00,
	0x5645, 0x00,
	0x5646, 0x00,
	0x5647, 0x00,
	0x5648, 0x00,
	0x5649, 0x00,
	0x5840, 0x0f,
	0x5841, 0x00,
	0x5842, 0x00,
	0x5843, 0x00,
	0x5844, 0x00,
	0x5845, 0x00,
	0x5846, 0x00,
	0x5847, 0x00,
	0x5848, 0x00,
	0x5849, 0x00,
	0x5dc0, 0x04,
	0x5dc1, 0x04,
	0x5dc2, 0x04,
	0x5dc3, 0x04,
	0x5de0, 0x04,
	0x5de1, 0x04,
	0x5de2, 0x04,
	0x5de3, 0x04,
	0x5000, 0x87,
	0x5001, 0x74,
	0x5002, 0xff,
	0x5003, 0x3a,
	0x5004, 0x1e,
	0x5005, 0x1e,
	0x5006, 0x1e,
	0x5007, 0x1e,
	0x5008, 0x30,
	0x500a, 0x3f,
	0x500c, 0x00,
	0x502a, 0x10,
	0x502c, 0x00,
	0x504b, 0x00,
	0x5053, 0x00,
	0x505b, 0x00,
	0x5063, 0x00,
	0x5070, 0x00,
	0x5074, 0x04,
	0x4000, 0x78,
	0x4001, 0x2b,
	0x4008, 0x01,
	0x400b, 0x02,
	0x400e, 0x02,
	0x400f, 0x80,
	0x4012, 0x30,
	0x4013, 0x01,
	0x4018, 0x12,
	0x401e, 0x00,
	0x401f, 0x02,
	0x4021, 0x05,
	0x4022, 0x40,
	0x4023, 0x20,
	0x4026, 0x00,
	0x4027, 0x40,
	0x4028, 0x00,
	0x4029, 0x40,
	0x402a, 0x00,
	0x402b, 0x40,
	0x402c, 0x00,
	0x402d, 0x40,
	0x407e, 0xcc,
	0x407f, 0x18,
	0x4082, 0x01,
	0x4083, 0x18,
	0x4084, 0x01,
	0x4085, 0x18,
	0x4086, 0x00,
	0x4087, 0xa0,
	0x4640, 0x40,
	0x4641, 0x4a,
	0x4642, 0x0e,
	0x4643, 0xee,
	0x4646, 0x00,
	0x4648, 0x30,
	0x4649, 0x03,
	0x5d09, 0x6b,
	0x5d0b, 0x6b,
	0x5d19, 0x6b,
	0x5d40, 0x02,
	0x5d42, 0x02,
	0x5d43, 0x85,
	0x5d44, 0x1b,
	0x5d45, 0xdd,
	0x5d46, 0x02,
	0x5d47, 0x85,
	0x5d48, 0x1b,
	0x5d49, 0xdd,
	0x5d4a, 0x02,
	0x5d4b, 0x40,
	0x5d4c, 0x02,
	0x5d4d, 0x40,
	0x5d4e, 0x02,
	0x5d4f, 0x40,
	0x5d50, 0x18,
	0x5d51, 0x80,
	0x5d52, 0x18,
	0x5d53, 0x80,
	0x5d54, 0x18,
	0x5d55, 0x80,
	0x5d57, 0x10,
	0x5d59, 0x20,
	0x5d5c, 0x02,
	0x5d5d, 0x40,
	0x5d5e, 0x02,
	0x5d5f, 0x40,
	0x5d60, 0x03,
	0x5d61, 0x40,
	0x5d62, 0x07,
	0x5d63, 0x28,
	0x5d65, 0xff,
	0x6102, 0x1f,
	0x610a, 0x0f,
	0x610b, 0x20,
	0x610c, 0x08,
	0x610d, 0x80,
	0x6144, 0x75,
	0x6145, 0x75,
	0x6146, 0x75,
	0x6147, 0x75,
	0x6148, 0x75,
	0x6149, 0x75,
	0x614a, 0x75,
	0x614b, 0x75,
	0x614c, 0x75,
	0x614d, 0x75,
	0x614e, 0x75,
	0x614f, 0x75,
	0x6150, 0x75,
	0x6151, 0x75,
	0x6152, 0x75,
	0x6153, 0x75,
	0x6154, 0x75,
	0x6155, 0x75,
	0x6156, 0x75,
	0x6157, 0x75,
	0x6158, 0x75,
	0x6159, 0x75,
	0x615a, 0x75,
	0x615b, 0x75,
	0x615c, 0x75,
	0x615d, 0x75,
	0x615e, 0x75,
	0x615f, 0x75,
	0x6160, 0x75,
	0x6161, 0x75,
	0x6162, 0x75,
	0x6163, 0x75,
	0x6164, 0x75,
	0x6165, 0x75,
	0x6166, 0x75,
	0x6167, 0x75,
	0x6168, 0x75,
	0x6169, 0x75,
	0x616a, 0x75,
	0x616b, 0x75,
	0x616c, 0x75,
	0x616d, 0x75,
	0x616e, 0x75,
	0x616f, 0x75,
	0x6170, 0x75,
	0x6171, 0x75,
	0x6172, 0x75,
	0x6173, 0x75,
	0x6174, 0x75,
	0x6175, 0x75,
	0x6176, 0x75,
	0x6177, 0x75,
	0x6178, 0x75,
	0x6179, 0x75,
	0x617a, 0x75,
	0x617b, 0x75,
	0x617c, 0x75,
	0x617d, 0x75,
	0x617e, 0x75,
	0x617f, 0x75,
	0x6180, 0x75,
	0x6181, 0x75,
	0x6182, 0x75,
	0x6183, 0x75,
	0x6184, 0x75,
	0x6185, 0x75,
	0x6186, 0x75,
	0x6187, 0x75,
	0x6188, 0x75,
	0x6189, 0x75,
	0x618a, 0x75,
	0x618b, 0x75,
	0x618c, 0x75,
	0x618d, 0x75,
	0x618e, 0x75,
	0x618f, 0x75,
	0x6190, 0x75,
	0x6191, 0x75,
	0x6192, 0x75,
	0x6193, 0x75,
	0x6194, 0x75,
	0x6195, 0x75,
	0x6196, 0x75,
	0x6197, 0x75,
	0x6198, 0x75,
	0x6199, 0x75,
	0x619a, 0x75,
	0x619b, 0x75,
	0x619c, 0x75,
	0x619d, 0x75,
	0x619e, 0x75,
	0x619f, 0x75,
	0x61a0, 0x75,
	0x61a1, 0x75,
	0x61a2, 0x75,
	0x61a3, 0x75,
	0x61a4, 0x75,
	0x61a5, 0x75,
	0x61a6, 0x75,
	0x61a7, 0x75,
	0x61a8, 0x75,
	0x61a9, 0x75,
	0x61aa, 0x75,
	0x61ab, 0x75,
	0x61ac, 0x75,
	0x61ad, 0x75,
	0x61ae, 0x75,
	0x61af, 0x75,
	0x5022, 0x08,
	0x5023, 0x7a,
	0x6120, 0x75,
	0x6121, 0x75,
	0x6122, 0x75,
	0x6123, 0x75,
	0x6124, 0x75,
	0x6125, 0x75,
	0x6126, 0x75,
	0x6127, 0x75,
	0x6128, 0x75,
	0x6129, 0x75,
	0x612a, 0x75,
	0x612b, 0x75,
	0x612c, 0x75,
	0x612d, 0x75,
	0x612e, 0x75,
	0x612f, 0x75,
	0x6130, 0x75,
	0x6131, 0x75,
	0x6132, 0x75,
	0x6133, 0x75,
	0x6134, 0x75,
	0x6135, 0x75,
	0x6136, 0x75,
	0x6137, 0x75,
	0x6138, 0x75,
	0x6139, 0x75,
	0x613a, 0x75,
	0x613b, 0x75,
	0x613c, 0x75,
	0x613d, 0x75,
	0x613e, 0x75,
	0x613f, 0x75,
	0x6140, 0x75,
	0x6141, 0x75,
	0x6142, 0x75,
	0x6143, 0x75,
	0x4f04, 0x78,
	0x420e, 0x63,
	0x420f, 0x77,
	0x4210, 0xce,
	0x4211, 0xed,
	0x507a, 0x28,
	0x507b, 0x40,
	0x3b80, 0x04,
	0x3b81, 0x00,
	0x3b82, 0x00,
	0x3b83, 0x04,
	0x3b84, 0x00,
	0x3b85, 0x00,
	0x4d12, 0x40,
	0x4d30, 0x05,
	0x5b7e, 0x01,
	0x5b78, 0x00,
	0x5b79, 0xd9,
	0x5b7a, 0x00,
	0x5b7b, 0xf0,
	0x5b7c, 0x01,
	0x5b7d, 0x03,
	0x5b64, 0x00,
	0x5b65, 0xce,
	0x5b66, 0x00,
	0x5b67, 0x49,
	0x5b68, 0x0f,
	0x5b69, 0xe8,
	0x5b6a, 0x0f,
	0x5b6b, 0x97,
	0x5b6c, 0x01,
	0x5b6d, 0x1f,
	0x5b6e, 0x00,
	0x5b6f, 0x49,
	0x5b70, 0x0f,
	0x5b71, 0x67,
	0x5b72, 0x0f,
	0x5b73, 0x47,
	0x5b74, 0x02,
	0x5b75, 0x51,
	0x5b52, 0x01,
	0x5b53, 0x70,
	0x5b54, 0x0f,
	0x5b55, 0xc3,
	0x5b56, 0x0f,
	0x5b57, 0xcc,
	0x5b58, 0x00,
	0x5b59, 0x15,
	0x5b5a, 0x01,
	0x5b5b, 0x02,
	0x5b5c, 0x0f,
	0x5b5d, 0xe7,
	0x5b5e, 0x00,
	0x5b5f, 0x31,
	0x5b60, 0x0f,
	0x5b61, 0x2c,
	0x5b62, 0x01,
	0x5b63, 0xa2,
	0x5b40, 0x01,
	0x5b41, 0x57,
	0x5b42, 0x0f,
	0x5b43, 0xbd,
	0x5b44, 0x0f,
	0x5b45, 0xea,
	0x5b46, 0x00,
	0x5b47, 0x0e,
	0x5b48, 0x00,
	0x5b49, 0xfe,
	0x5b4a, 0x0f,
	0x5b4b, 0xf3,
	0x5b4c, 0x00,
	0x5b4d, 0x46,
	0x5b4e, 0x0f,
	0x5b4f, 0x76,
	0x5b50, 0x01,
	0x5b51, 0x42,
	0x3d96, 0x00,
};

uint32_t sunny_ovx8b_pwl_setting_20bit[] = {
	0x5e00, 0x00,
	0x5e01, 0x08,
	0x5e02, 0x08,
	0x5e03, 0x08,
	0x5e04, 0x08,
	0x5e05, 0x09,
	0x5e06, 0x09,
	0x5e07, 0x09,
	0x5e08, 0x09,
	0x5e09, 0x0a,
	0x5e0a, 0x0a,
	0x5e0b, 0x0a,
	0x5e0c, 0x0b,
	0x5e0d, 0x0b,
	0x5e0e, 0x0b,
	0x5e0f, 0x0c,
	0x5e10, 0x0d,
	0x5e11, 0x0d,
	0x5e12, 0x0d,
	0x5e13, 0x0d,
	0x5e14, 0x0e,
	0x5e15, 0x0e,
	0x5e16, 0x0e,
	0x5e17, 0x0e,
	0x5e18, 0x0e,
	0x5e19, 0x0f,
	0x5e1a, 0x0f,
	0x5e1b, 0x10,
	0x5e1c, 0x10,
	0x5e1d, 0x10,
	0x5e1e, 0x11,
	0x5e1f, 0x11,
	0x5e20, 0x11,
	0x5e21, 0x12,
	0x5e22, 0x00,
	0x5e23, 0x01,
	0x5e26, 0x00,
	0x5e27, 0x3f,
	0x5e29, 0x00,
	0x5e2a, 0x40,
	0x5e2c, 0x00,
	0x5e2d, 0x40,
	0x5e2f, 0x00,
	0x5e30, 0x40,
	0x5e32, 0x00,
	0x5e33, 0x40,
	0x5e34, 0x00,
	0x5e35, 0x00,
	0x5e36, 0x40,
	0x5e37, 0x00,
	0x5e38, 0x00,
	0x5e39, 0x40,
	0x5e3a, 0x00,
	0x5e3b, 0x00,
	0x5e3c, 0x40,
	0x5e3d, 0x00,
	0x5e3e, 0x00,
	0x5e3f, 0x40,
	0x5e40, 0x00,
	0x5e41, 0x00,
	0x5e42, 0x40,
	0x5e43, 0x00,
	0x5e44, 0x00,
	0x5e45, 0x40,
	0x5e46, 0x00,
	0x5e47, 0x00,
	0x5e48, 0x40,
	0x5e49, 0x00,
	0x5e4a, 0x00,
	0x5e4b, 0x40,
	0x5e4c, 0x00,
	0x5e4d, 0x00,
	0x5e4e, 0x40,
	0x5e50, 0x00,
	0x5e51, 0x40,
	0x5e53, 0x00,
	0x5e54, 0x40,
	0x5e56, 0x00,
	0x5e57, 0x40,
	0x5e59, 0x00,
	0x5e5a, 0x80,
	0x5e5c, 0x00,
	0x5e5d, 0x80,
	0x5e5f, 0x01,
	0x5e60, 0x00,
	0x5e62, 0x01,
	0x5e63, 0x00,
	0x5e65, 0x01,
	0x5e66, 0x00,
	0x5e68, 0x01,
	0x5e69, 0x00,
	0x5e6b, 0x01,
	0x5e6c, 0x00,
	0x5e6e, 0x01,
	0x5e6f, 0x00,
	0x5e71, 0x01,
	0x5e72, 0x00,
	0x5e74, 0x00,
	0x5e75, 0x80,
	0x5e77, 0x00,
	0x5e78, 0x80,
	0x5e7a, 0x00,
	0x5e7b, 0x80,
	0x5e7d, 0x00,
	0x5e7e, 0x80,
	0x5e80, 0x00,
	0x5e81, 0x80,
	0x5e83, 0x00,
	0x5e84, 0x40,
	0x5f00, 0x02,
	0x5f01, 0x08,
	0x5f02, 0x09,
	0x5f03, 0x0a,
	0x5f04, 0x0b,
	0x5f05, 0x0c,
	0x5f06, 0x0c,
	0x5f07, 0x0c,
	0x5f08, 0x0c,
	0x5f09, 0x0c,
	0x5f0a, 0x0d,
	0x5f0b, 0x0d,
	0x5f0c, 0x0d,
	0x5f0d, 0x0d,
	0x5f0e, 0x0d,
	0x5f0f, 0x0e,
	0x5f10, 0x0e,
	0x5f11, 0x0e,
	0x5f12, 0x0e,
	0x5f13, 0x0f,
	0x5f14, 0x0f,
	0x5f15, 0x10,
	0x5f16, 0x11,
	0x5f17, 0x11,
	0x5f18, 0x12,
	0x5f19, 0x12,
	0x5f1a, 0x13,
	0x5f1b, 0x13,
	0x5f1c, 0x14,
	0x5f1d, 0x14,
	0x5f1e, 0x16,
	0x5f1f, 0x16,
	0x5f20, 0x16,
	0x5f21, 0x08,
	0x5f22, 0x00,
	0x5f23, 0x01,
	0x5f26, 0x02,
	0x5f27, 0x00,
	0x5f29, 0x02,
	0x5f2a, 0x00,
	0x5f2c, 0x02,
	0x5f2d, 0x00,
	0x5f2f, 0x02,
	0x5f30, 0x00,
	0x5f32, 0x02,
	0x5f33, 0x00,
	0x5f34, 0x00,
	0x5f35, 0x02,
	0x5f36, 0x00,
	0x5f37, 0x00,
	0x5f38, 0x02,
	0x5f39, 0x00,
	0x5f3a, 0x00,
	0x5f3b, 0x02,
	0x5f3c, 0x00,
	0x5f3d, 0x00,
	0x5f3e, 0x02,
	0x5f3f, 0x00,
	0x5f40, 0x00,
	0x5f41, 0x02,
	0x5f42, 0x00,
	0x5f43, 0x00,
	0x5f44, 0x02,
	0x5f45, 0x00,
	0x5f46, 0x00,
	0x5f47, 0x04,
	0x5f48, 0x00,
	0x5f49, 0x00,
	0x5f4a, 0x04,
	0x5f4b, 0x00,
	0x5f4c, 0x00,
	0x5f4d, 0x04,
	0x5f4e, 0x00,
	0x5f50, 0x04,
	0x5f51, 0x00,
	0x5f53, 0x04,
	0x5f54, 0x00,
	0x5f56, 0x04,
	0x5f57, 0x00,
	0x5f59, 0x04,
	0x5f5a, 0x00,
	0x5f5c, 0x04,
	0x5f5d, 0x00,
	0x5f5f, 0x08,
	0x5f60, 0x00,
	0x5f62, 0x08,
	0x5f63, 0x00,
	0x5f65, 0x08,
	0x5f66, 0x00,
	0x5f68, 0x08,
	0x5f69, 0x00,
	0x5f6b, 0x08,
	0x5f6c, 0x00,
	0x5f6e, 0x10,
	0x5f6f, 0x00,
	0x5f71, 0x10,
	0x5f72, 0x00,
	0x5f74, 0x10,
	0x5f75, 0x00,
	0x5f77, 0x10,
	0x5f78, 0x00,
	0x5f7a, 0x20,
	0x5f7b, 0x00,
	0x5f7d, 0x20,
	0x5f7e, 0x00,
	0x5f80, 0x20,
	0x5f81, 0x00,
	0x5f83, 0x00,
	0x5f84, 0xff,
};

uint32_t sunny_ovx8b_pwl_setting_24bit[] = {
	0x5e00, 0x00,
	0x5e01, 0x09,
	0x5e02, 0x09,
	0x5e03, 0x0a,
	0x5e04, 0x0a,
	0x5e05, 0x0a,
	0x5e06, 0x0b,
	0x5e07, 0x0b,
	0x5e08, 0x0c,
	0x5e09, 0x0c,
	0x5e0a, 0x0d,
	0x5e0b, 0x0d,
	0x5e0c, 0x0e,
	0x5e0d, 0x0e,
	0x5e0e, 0x0f,
	0x5e0f, 0x0f,
	0x5e10, 0x10,
	0x5e11, 0x10,
	0x5e12, 0x11,
	0x5e13, 0x11,
	0x5e14, 0x12,
	0x5e15, 0x12,
	0x5e16, 0x12,
	0x5e17, 0x12,
	0x5e18, 0x13,
	0x5e19, 0x13,
	0x5e1a, 0x13,
	0x5e1b, 0x14,
	0x5e1c, 0x14,
	0x5e1d, 0x14,
	0x5e1e, 0x15,
	0x5e1f, 0x15,
	0x5e20, 0x15,
	0x5e21, 0x16,
	0x5e22, 0x00,
	0x5e23, 0x02,
	0x5e24, 0x00,
	0x5e25, 0x00,
	0x5e26, 0x00,
	0x5e27, 0xff,
	0x5e28, 0x00,
	0x5e29, 0x01,
	0x5e2a, 0x00,
	0x5e2b, 0x00,
	0x5e2c, 0x01,
	0x5e2d, 0x00,
	0x5e2e, 0x00,
	0x5e2f, 0x01,
	0x5e30, 0x00,
	0x5e31, 0x00,
	0x5e32, 0x00,
	0x5e33, 0x80,
	0x5e34, 0x00,
	0x5e35, 0x00,
	0x5e36, 0x80,
	0x5e37, 0x00,
	0x5e38, 0x00,
	0x5e39, 0x80,
	0x5e3a, 0x00,
	0x5e3b, 0x00,
	0x5e3c, 0x80,
	0x5e3d, 0x00,
	0x5e3e, 0x00,
	0x5e3f, 0x80,
	0x5e40, 0x00,
	0x5e41, 0x00,
	0x5e42, 0x80,
	0x5e43, 0x00,
	0x5e44, 0x00,
	0x5e45, 0x80,
	0x5e46, 0x00,
	0x5e47, 0x00,
	0x5e48, 0x80,
	0x5e49, 0x00,
	0x5e4a, 0x00,
	0x5e4b, 0x80,
	0x5e4c, 0x00,
	0x5e4d, 0x00,
	0x5e4e, 0x80,
	0x5e4f, 0x00,
	0x5e50, 0x00,
	0x5e51, 0x80,
	0x5e52, 0x00,
	0x5e53, 0x00,
	0x5e54, 0x80,
	0x5e55, 0x00,
	0x5e56, 0x00,
	0x5e57, 0x40,
	0x5e58, 0x00,
	0x5e59, 0x00,
	0x5e5a, 0x40,
	0x5e5b, 0x00,
	0x5e5c, 0x00,
	0x5e5d, 0x40,
	0x5e5e, 0x00,
	0x5e5f, 0x00,
	0x5e60, 0x40,
	0x5e61, 0x00,
	0x5e62, 0x00,
	0x5e63, 0x40,
	0x5e64, 0x00,
	0x5e65, 0x00,
	0x5e66, 0x40,
	0x5e67, 0x00,
	0x5e68, 0x00,
	0x5e69, 0x40,
	0x5e6a, 0x00,
	0x5e6b, 0x00,
	0x5e6c, 0x40,
	0x5e6d, 0x00,
	0x5e6e, 0x00,
	0x5e6f, 0x40,
	0x5e70, 0x00,
	0x5e71, 0x00,
	0x5e72, 0x40,
	0x5e73, 0x00,
	0x5e74, 0x00,
	0x5e75, 0x40,
	0x5e76, 0x00,
	0x5e77, 0x00,
	0x5e78, 0x40,
	0x5e79, 0x00,
	0x5e7a, 0x00,
	0x5e7b, 0x40,
	0x5e7c, 0x00,
	0x5e7d, 0x00,
	0x5e7e, 0x40,
	0x5e7f, 0x00,
	0x5e80, 0x00,
	0x5e81, 0x40,
	0x5e82, 0x00,
	0x5e83, 0x00,
	0x5e84, 0x40,
};

uint32_t ovx8b_test_pattern[] = {
	0x5240, 0x01,
	0x5440, 0x01,
	0x5640, 0x01,
	0x5840, 0x01,
	0x5004, 0x01,
	0x5005, 0x01,
	0x5006, 0x01,
	0x5007, 0x01,
};

uint32_t ovx8b_stream_on_setting[] = {
	0x0100, 0x01,
};

uint32_t ovx8b_stream_off_setting[] = {
	0x0100, 0x00,
};

uint32_t ovx8b_init_setting_rst[] = {
	0x3208, 0x10,  // group hold end
	0x3211, 0x40,  // manual lunch on, group hold crc enable
	0x3208, 0xA0,  // delay lunch
	0x0100, 0x00,  // stream off
	0x0103, 0x01,  // software rst
	0x0107, 0x01,  // software rst
};

static uint16_t ovx8b_trigger_arbitrary_mode_setting[] = {
	0x3015, 0x0A,  // GPIO setting to receive GSIN pulse
	0x3009, 0x02,  // GPIO setting to receive GSIN pulse
	0x3822, 0x24,  // enable mode fix timing counter, numb of rows before frame end
	0x3823, 0x50,  // ext_vsync_en, enable set row counter manually
	0x383e, 0x81,  // vsync_ext_rst_dis
	0x3881, 0x34,  // hdr_num, ext_vsync_adj_en
	0x3882, 0x05,  // VTS - (3826, 3827)
	0x3883, 0x23,
	0x388e, 0x01,
	0x388f, 0x00,
	0x3892, 0x44,  // enable cs adjustment
	0x3826, 0x00,  // tc_r_init_man = VTS - max(DCG, SPD-VS-2) - 3
	0x3827, 0x29,
	0x3836, 0x00,
	0x3837, 0x02,
};

uint32_t ovx8b_init_setting_2160p_15fps[] = {
	0x0408, 0xe8,
	0x0409, 0x00,
	0x040c, 0x5c,
	0x040d, 0xcd,
	0x4837, 0x1f,
	0x0305, 0x2a,

	0x380e, 0x05,
	0x380f, 0x24,
	0x380c, 0x08,
	0x380d, 0x26,
	0x384c, 0x03,
	0x384d, 0xf6,
	0x388c, 0x03,
	0x388d, 0xec,
};

uint32_t ovx8b_init_setting_2160p_10fps[] = {
	0x380e, 0x0f,
	0x380f, 0xe2,
};

uint32_t ovx8b_init_setting_2160p_20fps[] = {
	0x380e, 0x07,
	0x380f, 0xf1,
};

uint32_t ovx8b_init_setting_2160p_25fps[] = {
	0x380e, 0x06,
	0x380f, 0x5a,
};

uint32_t ovx8b_init_setting_2160p_12_5fps[] = {  // 12.5fps
	0x380e, 0x0c,
	0x380f, 0xb4,
};

uint32_t serial_rclk_output_disable[] = {
	0x0003, 0x00,	 // Route RCLK out disable
	0x0006, 0x90,	 // RCLK output disabale
};

uint32_t ovx8b_hts_vts_spec_setting[] = {
       // add hts and dec vts for valid time:28.46ms
       0x380c, 0x04,
       0x380d, 0x3d,
       0x384c, 0x02,
       0x384d, 0x0f,
       0x388c, 0x02,
       0x388d, 0x0a,
       0x380e, 0x04,
       0x380f, 0xf1,
};

uint32_t ovx8b_crop_setting[] = {
	0x0100, 0x00,
	0x3810, 0x00,  // x addr start high
	0x3811, 0x00,  // x addr start low
	0x3812, 0x00,  // y addr start high
	0x3813, 0x04,  // y addr start low

	0x3808, 0x0f,  // x output size high
	0x3809, 0x00,  // x output size low
	0x380a, 0x08,  // y output size high
	0x380b, 0x70,  // y output size low
	/* 0x0100, 0x01 */
};

#endif  // UTILITY_SENSOR_INC_OVX8BSTD_SETTING_H_
